Changeset 478


Ignore:
Timestamp:
11/08/2009 22:25:23 (3 years ago)
Author:
ccowart
Message:

The call to EDITOR outside the loop was using the correct

&3 idiom, but I missed the call inside the "no changes" loop. Also fixed an

issue where the continue prompt was not being displayed.

Fixes #92

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman.in

    r477 r478  
    148148 
    149149    while diff "$logfile" "$orig_log" >/dev/null 2>&1 ; do 
    150         echo "Log message unchanged. (E)dit / (a)bort / (c)ontinue?" 
     150        echo "Log message unchanged. (E)dit / (a)bort / (c)ontinue?" >&3 
    151151        read response 
    152152        case "$response" in 
    153153            [cC]*)      break;; 
    154154            [aA]*)      return 1;; 
    155             ""|[eE]*)   ${EDITOR} "$logfile";; 
     155            ""|[eE]*)   ${EDITOR} "$logfile" >&3;; 
    156156        esac 
    157157    done 
Note: See TracChangeset for help on using the changeset viewer.