r3551@krups: intrigeri | 2005-11-15 00:47:57 +0100
authorintrigeri <intrigeri@boum.org>
Tue, 29 Nov 2005 10:07:59 +0000 (10:07 +0000)
committerintrigeri <intrigeri@boum.org>
Tue, 29 Nov 2005 10:07:59 +0000 (10:07 +0000)
 Fix formDisplay to reset $REPLY as it should.

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`