aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/commands.go')
-rw-r--r--weed/shell/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index dbbd86f0e..264dd4818 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -82,7 +82,7 @@ func (ce *CommandEnv) isLocked() bool {
return true
}
if ce.noLock {
- return false
+ return true
}
return ce.locker.IsLocked()
}