From: Sapan Bhatia Date: Mon, 11 May 2009 02:47:12 +0000 (+0000) Subject: Removed a check in umount. X-Git-Tag: vsys-scripts-0.9-3~2 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=c31a2a95c1c630f28117177757fb1c82bdcb554d Removed a check in umount. --- 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"); }