diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-10-20 20:32:57 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-10-20 20:32:57 +0000 |
commit | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (patch) | |
tree | 3f3f729ef0455b62fba0c60263ba2c0180f4b4ec /samples/progress2 | |
parent | 42c10d5d7d5ba2fde22838d594f29d2f73b3ead2 (diff) |
Notes
Diffstat (limited to 'samples/progress2')
-rwxr-xr-x | samples/progress2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/samples/progress2 b/samples/progress2 index 564433b1c379..f4bdb3cae80b 100755 --- a/samples/progress2 +++ b/samples/progress2 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: progress2,v 1.5 2010/01/13 10:20:03 tom Exp $ +# $Id: progress2,v 1.7 2018/06/17 20:45:25 tom Exp $ . ./setup-vars @@ -11,9 +11,12 @@ while true do read text test -z "$text" && break -ls -ld "$text" +ls -ld "$text" || break sleep 1 done <$tempfile ) | $DIALOG --title "PROGRESS" "$@" --progressbox "This is a detailed description\nof the progress-box." 20 70 + +retval=$? +. ./report-button |