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/fselect | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/fselect')
| -rwxr-xr-x | samples/fselect | 6 |
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 |
