r3551@krups: intrigeri | 2005-11-15 00:47:57 +0100
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 29 Nov 2005 10:07:59 +0000 (10:07 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 29 Nov 2005 10:07:59 +0000 (10:07 +0000)
 Fix formDisplay to reset $REPLY as it should.

git-svn-id: http://code.autistici.org/svn/backupninja/trunk@235 758a04ac-41e6-0310-8a23-8373a73cc35d

handlers/easydialog.sh

index ff3659f25583852f6eca558257e75ecb5fc661c9..bb7e8e3a8f97fc9aa2494916269b5cf09846312a 100644 (file)
@@ -244,6 +244,7 @@ formDisplay() {
    ) | xargs $DIALOG 2> $temp
    local status=$?
    
+   REPLY=
    if [ $status = 0 ]; then
       IFS=$''
       REPLY=`cat $temp`