X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=exec%2Fumount;h=3d7fb48353d16d2f0a130d75aebe8e41e1a4944b;hb=f596d6d2f9f2b8e7fbffd9c3332fda1de1adc798;hp=f7c7fea84ce7f54794ed0ccdff38c8ebf286c05c;hpb=82be4f9a82a52a2fc12ce6959aea140bca2aaa0d;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"); }