diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
| commit | 01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1 (patch) | |
| tree | 593f2e62b1846058a020ffcecb0ef93eb7ac2153 /samples/gauge2 | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/gauge2')
| -rwxr-xr-x | samples/gauge2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/gauge2 b/samples/gauge2 index 10455d144c62..f791410673af 100755 --- a/samples/gauge2 +++ b/samples/gauge2 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: gauge2,v 1.8 2010/01/13 10:26:52 tom Exp $ +# $Id: gauge2,v 1.9 2019/12/10 23:37:10 tom Exp $ # The original dialog program assumed the first line after the first "XXX" # was a percentage value (compare with "gauge" script). @@ -22,7 +22,7 @@ echo "100") | \ $DIALOG --title "GAUGE" "$@" --gauge "Hi, this is a gauge widget" 10 40 0 -if [ "$?" = $DIALOG_ESC ] ; then +if [ "$?" = "$DIALOG_ESC" ] ; then echo "" echo "Box closed !" fi |
