From: m@mmmmarascio.xyz Date: Mon, 8 Aug 2016 23:14:50 +0000 (-0700) Subject: Fix typo in whatnow2 function "display" X-Git-Tag: mmh-0.3~10 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=40c8c8f1fbf8271368b61e70710b25f6b7760a1a;p=mmh Fix typo in whatnow2 function "display" The attached patch fixes a typo in the whatnow2's "display" function. [ -z instand of [ -n for a check if a variable is empty. --- diff --git a/uip/whatnow2.sh b/uip/whatnow2.sh index a4a2cc5..dbddb55 100755 --- a/uip/whatnow2.sh +++ b/uip/whatnow2.sh @@ -213,7 +213,7 @@ display() { mhaltmsg=`anno -list -component 'mhaltmsg' $mhmetafile` get_showproc - if [ -n "$mhaltmsg" ] + if [ -z "$mhaltmsg" ] then echo "no altmsg" 1>&2 exit 1