aboutsummaryrefslogtreecommitdiff
path: root/samples/msgbox6
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-02-26 09:05:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-02-26 09:05:35 +0000
commit01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1 (patch)
tree593f2e62b1846058a020ffcecb0ef93eb7ac2153 /samples/msgbox6
parent4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff)
downloadsrc-01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1.tar.gz
src-01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1.zip
dialog: vendor import version 1.3-20210117vendor/dialog/1.3-20210117vendor/dialog
Diffstat (limited to 'samples/msgbox6')
-rwxr-xr-xsamples/msgbox64
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/msgbox6 b/samples/msgbox6
index 1d30f021897d..e2f22cb7d731 100755
--- a/samples/msgbox6
+++ b/samples/msgbox6
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: msgbox6,v 1.5 2010/01/13 10:26:52 tom Exp $
+# $Id: msgbox6,v 1.6 2019/12/11 00:03:24 tom Exp $
# this differs from msgbox3 by making a window small enough to force scrolling.
. ./setup-vars
@@ -12,6 +12,6 @@ $DIALOG --title "MESSAGE BOX (width $width)" --clear "$@" \
a b c d e f g h j i j k l m n o p q r s t u v w x y z
A B C D E F G H J I J K L M N O P Q R S T U V W X Y Z
" 10 $width
-test $? = $DIALOG_ESC && break
+test $? = "$DIALOG_ESC" && break
width=`expr $width + 1`
done