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/msgbox3 | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/msgbox3')
| -rwxr-xr-x | samples/msgbox3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/msgbox3 b/samples/msgbox3 index d1ea1080f885..0157b1e14568 100755 --- a/samples/msgbox3 +++ b/samples/msgbox3 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: msgbox3,v 1.7 2010/01/13 10:26:52 tom Exp $ +# $Id: msgbox3,v 1.8 2019/12/11 00:03:44 tom Exp $ . ./setup-vars @@ -17,6 +17,6 @@ $DIALOG --title "MESSAGE BOX (width $width)" --clear --no-collapse "$@" \ Hi, this is a simple message box. You can use this to \ display any message you like. The box will remain until \ you press the ENTER key." 15 $width -test $? = $DIALOG_ESC && break +test $? = "$DIALOG_ESC" && break width=`expr $width + 1` done |
