Changeset 663 for locker/bin/signup-sql


Ignore:
Timestamp:
Feb 25, 2008, 3:14:47 AM (14 years ago)
Author:
geofft
Message:
Make signup-sql attach a locker before using it (per price, Trac #58)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-sql

    r660 r663  
    5353    echo you control.  Please enter the name of the selected locker below.
    5454    echo "(For the locker /mit/sipb, you would enter sipb)."
    55     printf "Locker name: "
    56     read lname
    57     lroot="/mit/$lname"
     55    while true; do
     56        printf "Locker name: "
     57        read lname
     58        if attach "$lname"; then
     59            break
     60        fi
     61        echo "$lname is not a valid locker name."
     62    done
     63    lroot="/mit/$lname"
    5864else
    5965    echo
Note: See TracChangeset for help on using the changeset viewer.