projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8884262
)
Fix typo in whatnow2 function "display"
author
m@mmmmarascio.xyz
<m@mmmmarascio.xyz>
Mon, 8 Aug 2016 23:14:50 +0000
(16:14 -0700)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Tue, 9 Aug 2016 11:26:12 +0000
(13:26 +0200)
The attached patch fixes a typo in the whatnow2's "display" function.
[ -z instand of [ -n for a check if a variable is empty.
uip/whatnow2.sh
patch
|
blob
|
history
diff --git
a/uip/whatnow2.sh
b/uip/whatnow2.sh
index
a4a2cc5
..
dbddb55
100755
(executable)
--- 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