From 072e6e6405323e91eda0cd86a04a86d2a64aeaaf Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 17 Apr 2016 19:52:44 -0700 Subject: [PATCH] More error suppression. --- dotfiles/zshrc.d/assemble.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zshrc.d/assemble.zsh b/dotfiles/zshrc.d/assemble.zsh index 061dea9..8814484 100644 --- a/dotfiles/zshrc.d/assemble.zsh +++ b/dotfiles/zshrc.d/assemble.zsh @@ -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 " >&2 ; return 1 ; fi local NASM=`command which nasm`