mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
More error suppression.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
if [ -f "`command which nasm`" -a -f "`command which objdump`" ] ; then
|
if [ -f "`command which nasm 2>/dev/null`" -a -f "`command which objdump 2>/dev/null`" ] ; then
|
||||||
assemble_shellcode() {
|
assemble_shellcode() {
|
||||||
if [ -z "$1" ] ; then echo "Usage: $0 <assembly file>" >&2 ; return 1 ; fi
|
if [ -z "$1" ] ; then echo "Usage: $0 <assembly file>" >&2 ; return 1 ; fi
|
||||||
local NASM=`command which nasm`
|
local NASM=`command which nasm`
|
||||||
|
|||||||
Reference in New Issue
Block a user