Ignore:
Timestamp:
Aug 30, 2013 12:36:37 PM (10 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
f416e9b
Parents:
29efa9a
Message:

When user hits Enter on the default Y prompt, make sure we do the right thing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    r65fd04b2 r3d7cbf4  
    556556        echo -e "Default yes: (y/n)\c" 
    557557        read tmp 
    558         if [ "$tmp" != "y" -a "$tmp" != "Y" ] ; then return 1 ; fi 
     558        if [ "$tmp" != "y" -a "$tmp" != "Y" -a -n "$tmp" ] ; then return 1 ; fi 
    559559  else 
    560560        echo "PKGCONFLICTS: $cList" 
Note: See TracChangeset for help on using the changeset viewer.