summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2014-07-24 10:13:42 -0400
committerSteve Dickson <steved@redhat.com>2014-07-24 10:13:42 -0400
commit5f437e5da3d0f0be0b327ddfb18d7e6b1eab2b5e (patch)
tree8157614d9be3362e63481296959f0ccba0f7f769
parentc406716fec017add9ca052a630191d093e1f292d (diff)
Fixed private umounts
Signed-off-by: Steve Dickson <steved@redhat.com>
-rwxr-xr-xruncthon6
1 files changed, 5 insertions, 1 deletions
diff --git a/runcthon b/runcthon
index 33e7d6d..f5bcd03 100755
--- a/runcthon
+++ b/runcthon
@@ -99,7 +99,11 @@ umountall()
fi
if [ $privatemnts -eq 1 ]; then
- mnt=/mnt/$server
+ if [ "$SRV" = "" ] ; then
+ echo "--server has to be set on private unmounts"
+ exit 1
+ fi
+ mnt=/mnt/$SRV
else
mnt=/mnt
fi