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/timebox | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/timebox')
| -rwxr-xr-x | samples/timebox | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/timebox b/samples/timebox index cb6bf5c6f4f1..de5b4377a7dd 100755 --- a/samples/timebox +++ b/samples/timebox @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: timebox,v 1.9 2010/01/13 10:23:10 tom Exp $ +# $Id: timebox,v 1.11 2020/11/26 00:09:31 tom Exp $ . ./setup-vars @@ -7,8 +7,8 @@ DIALOG_ERROR=254 export DIALOG_ERROR exec 3>&1 -RESULT=`$DIALOG --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56 2>&1 1>&3` -retval=$? +returntext=`$DIALOG --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56 2>&1 1>&3` +returncode=$? exec 3>&- . ./report-string |
