Browse Source

fix test

pull/3499/head
chrislu 2 years ago
parent
commit
f0b4a7659a
  1. 5
      weed/shell/commands.go

5
weed/shell/commands.go

@ -83,7 +83,10 @@ func (ce *CommandEnv) confirmIsLocked(args []string) error {
}
func (ce *CommandEnv) isLocked() bool {
return ce != nil && ce.locker.IsLocked()
if ce == nil {
return true
}
return ce.locker.IsLocked()
}
func (ce *CommandEnv) checkDirectory(path string) error {

Loading…
Cancel
Save