summaryrefslogtreecommitdiff
path: root/sbin/diskless-workstation-shell
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-03 16:35:47 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-03 16:55:25 +0100
commit18a0c2f201348def02942d4bb29eda3d4c31c33f (patch)
tree31c1ed5973e747532ba01061b00fa333677e8bc2 /sbin/diskless-workstation-shell
parentdc5d05c4372c940655fc85b2a81155721e2976ac (diff)
downloaditzks-systems-18a0c2f201348def02942d4bb29eda3d4c31c33f.tar.gz
itzks-systems-18a0c2f201348def02942d4bb29eda3d4c31c33f.tar.bz2
itzks-systems-18a0c2f201348def02942d4bb29eda3d4c31c33f.zip
White-space cleanup.
Diffstat (limited to 'sbin/diskless-workstation-shell')
-rwxr-xr-xsbin/diskless-workstation-shell6
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
}