Fix regression from not having an real unlock test
args were sliced incorrectly.
This commit is contained in:
parent
5095d7c6a7
commit
d710ecbd4d
|
@ -33,10 +33,7 @@ func (c *UnlockCommand) Run(args []string) int {
|
||||||
}
|
}
|
||||||
|
|
||||||
lockID := args[0]
|
lockID := args[0]
|
||||||
|
args = args[1:]
|
||||||
if len(args) > 1 {
|
|
||||||
args = args[1:]
|
|
||||||
}
|
|
||||||
|
|
||||||
// assume everything is initialized. The user can manually init if this is
|
// assume everything is initialized. The user can manually init if this is
|
||||||
// required.
|
// required.
|
||||||
|
|
Loading…
Reference in New Issue