git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a check in umount.
[vsys-scripts.git]
/
exec
/
umount
diff --git
a/exec/umount
b/exec/umount
index
f7c7fea
..
3d7fb48
100755
(executable)
--- a/
exec/umount
+++ b/
exec/umount
@@
-11,10
+11,6
@@
$localpath=~s/\.\.//g;
$localpath=$slice_dir.$localpath;
$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");
}
unless($localpath=~/\/?[\w\d]+\/[\w\d]*\/?/) {
die("$localpath is not a path");
}