diff options
Diffstat (limited to 'sbin/diskless-workstation-shell')
| -rwxr-xr-x | sbin/diskless-workstation-shell | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/sbin/diskless-workstation-shell b/sbin/diskless-workstation-shell index 627e96d..baaa1fe 100755 --- a/sbin/diskless-workstation-shell +++ b/sbin/diskless-workstation-shell @@ -23,13 +23,13 @@ VERSION=0.1  DLW_SHELL="bash"  CHROOT="/srv/ltsp/i386/" -test -e "$CHROOT" || {  +test -e "$CHROOT" || {      echo "ERROR: Diskless workstation chroot does not exist at $CHROOT."      exit -1  } -[ "x$USER" == "xroot" ] || {  -    echo "ERROR: Diskless workstation management has to be performed as root."  +[ "x$USER" == "xroot" ] || { +    echo "ERROR: Diskless workstation management has to be performed as root."      exit -2  } | 
