aboutsummaryrefslogtreecommitdiff
path: root/samples/fselect
diff options
context:
space:
mode:
Diffstat (limited to 'samples/fselect')
-rwxr-xr-xsamples/fselect6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/fselect b/samples/fselect
index 20b8304331a1..45bb68da4874 100755
--- a/samples/fselect
+++ b/samples/fselect
@@ -1,11 +1,11 @@
#!/bin/sh
-# $Id: fselect,v 1.11 2010/01/13 10:20:03 tom Exp $
+# $Id: fselect,v 1.14 2020/11/26 00:09:12 tom Exp $
. ./setup-vars
exec 3>&1
-RESULT=`$DIALOG --title "Please choose a file" "$@" --fselect $HOME/ 14 48 2>&1 1>&3`
-retval=$?
+returntext=`$DIALOG --title "Please choose a file" "$@" --fselect "$HOME/" 14 48 2>&1 1>&3`
+returncode=$?
exec 3>&-
. ./report-string