aboutsummaryrefslogtreecommitdiff
path: root/samples/inputbox7
diff options
context:
space:
mode:
Diffstat (limited to 'samples/inputbox7')
-rwxr-xr-xsamples/inputbox76
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/inputbox7 b/samples/inputbox7
index e79d9cc584b2..ed608cb927f1 100755
--- a/samples/inputbox7
+++ b/samples/inputbox7
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: inputbox7,v 1.7 2010/01/13 10:20:03 tom Exp $
+# $Id: inputbox7,v 1.9 2020/11/26 00:09:12 tom Exp $
# An example which produces two widget outputs.
. ./setup-vars
@@ -18,12 +18,12 @@ SEP='
'
exec 3>&1
-RESULT=`$DIALOG --title "INPUT BOX" --clear --separate-widget "$SEP" "$@" \
+returntext=`$DIALOG --title "INPUT BOX" --clear --separate-widget "$SEP" "$@" \
--inputbox "$MSG" 16 51 \
--title "ANOTHER INPUT BOX" \
--inputbox "$MSG" 16 51 \
2>&1 1>&3`
-retval=$?
+returncode=$?
exec 3>&-
. ./report-string