X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=exec%2Fumount;h=3d7fb48353d16d2f0a130d75aebe8e41e1a4944b;hb=c31a2a95c1c630f28117177757fb1c82bdcb554d;hp=f7c7fea84ce7f54794ed0ccdff38c8ebf286c05c;hpb=ab8d503505c6c5c9343c48ca100f55682ec218f6;p=vsys-scripts.git diff --git a/exec/umount b/exec/umount index f7c7fea..3d7fb48 100755 --- a/exec/umount +++ b/exec/umount @@ -11,10 +11,6 @@ $localpath=~s/\.\.//g; $localpath=$slice_dir.$localpath; -unless (-d $localpath) { - die("Localpath does not exist, please create it first."); -} - unless($localpath=~/\/?[\w\d]+\/[\w\d]*\/?/) { die("$localpath is not a path"); }