aboutsummaryrefslogtreecommitdiff
path: root/samples/textbox
diff options
context:
space:
mode:
Diffstat (limited to 'samples/textbox')
-rwxr-xr-xsamples/textbox6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/textbox b/samples/textbox
index d3c7698c85ee..136fb7f51ebf 100755
--- a/samples/textbox
+++ b/samples/textbox
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: textbox,v 1.12 2010/01/13 10:36:35 tom Exp $
+# $Id: textbox,v 1.14 2020/11/26 00:05:11 tom Exp $
. ./setup-vars
@@ -35,10 +35,10 @@ EOF
TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING
-cat $TEXT | expand >> $tempfile
+expand < $TEXT >> $tempfile
$DIALOG --clear --title "TEXT BOX" "$@" --textbox "$tempfile" 22 77
-retval=$?
+returncode=$?
. ./report-button