Changeset 658 for locker/bin


Ignore:
Timestamp:
Feb 15, 2008, 3:25:22 PM (17 years ago)
Author:
andersk
Message:
Unbreak for sun machines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-minimal

    r641 r658  
    3232        echo "Please enter the name of the selected locker below."
    3333        echo "(For the locker /mit/sipb, you would enter sipb)."
    34         while printf "Locker name: "; read lname; ! attach "$lname" 2>/dev/null; do
    35                 echo "$lname is not a valid locker name."
     34        while true; do
     35            printf "Locker name: "
     36            read lname
     37            if attach "$lname" 2>/dev/null; then
     38                break
     39            fi
     40            echo "$lname is not a valid locker name."
    3641        done
    3742        lroot="/mit/$lname"
Note: See TracChangeset for help on using the changeset viewer.