diff options
author | Elijah Saxon <elijah@riseup.net> | 2006-01-09 00:21:28 +0000 |
---|---|---|
committer | Elijah Saxon <elijah@riseup.net> | 2006-01-09 00:21:28 +0000 |
commit | 413a3be0ac354e087d280d17cc5710948b270542 (patch) | |
tree | 4d0e410e1faca8b9eee1e84a7c742a91fc3ff72a /lib/easydialog.in | |
parent | ca36fe1456ead83d07fafda7225490ebabe15c14 (diff) | |
download | backupninja-413a3be0ac354e087d280d17cc5710948b270542.tar.gz backupninja-413a3be0ac354e087d280d17cc5710948b270542.tar.bz2 |
added bug warning in comments
Diffstat (limited to 'lib/easydialog.in')
-rw-r--r-- | lib/easydialog.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/easydialog.in b/lib/easydialog.in index 59b0efa..121c56a 100644 --- a/lib/easydialog.in +++ b/lib/easydialog.in @@ -244,6 +244,17 @@ formDisplay() { ) | xargs $DIALOG 2> $temp local status=$? + ## + ## the exit status is meaningless, it is always 0. + ## i can't figure out how to get the exit status of dialog + ## if we do "dialog `arg code`" or "dialog $args", then the quotes + ## get messed up and dialog won't run. + ## if we do "(arg code) | xargs dialog", then the exit status is + ## swallowed by xargs. xargs should return different exit status + ## depending on the exit status of the command run, but i have + ## never been able to get that to work. + ## + REPLY= if [ $status = 0 ]; then IFS=$'' |