diff options
| author | Steve Dickson <steved@redhat.com> | 2014-07-24 10:13:42 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2014-07-24 10:13:42 -0400 |
| commit | 5f437e5da3d0f0be0b327ddfb18d7e6b1eab2b5e (patch) | |
| tree | 8157614d9be3362e63481296959f0ccba0f7f769 | |
| parent | c406716fec017add9ca052a630191d093e1f292d (diff) | |
Fixed private umounts
Signed-off-by: Steve Dickson <steved@redhat.com>
| -rwxr-xr-x | runcthon | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
