mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-25 16:19:38 +08:00
fix test
This commit is contained in:
parent
bf88006037
commit
f0b4a7659a
@ -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…
Reference in New Issue
Block a user