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