More error suppression.

This commit is contained in:
David Tomaschik
2016-04-17 19:52:44 -07:00
parent 930b11b821
commit 072e6e6405

View File

@@ -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() {
if [ -z "$1" ] ; then echo "Usage: $0 <assembly file>" >&2 ; return 1 ; fi
local NASM=`command which nasm`