git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d396e21
)
Removed a check in umount.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Mon, 11 May 2009 02:47:12 +0000
(
02:47
+0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Mon, 11 May 2009 02:47:12 +0000
(
02:47
+0000)
exec/umount
patch
|
blob
|
history
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;
-unless (-d $localpath) {
- die("Localpath does not exist, please create it first.");
-}
-
unless($localpath=~/\/?[\w\d]+\/[\w\d]*\/?/) {
die("$localpath is not a path");
}