Fix regression from not having an real unlock test

args were sliced incorrectly.
This commit is contained in:
James Bardin 2017-02-17 20:28:34 -05:00
parent 5095d7c6a7
commit d710ecbd4d
1 changed files with 1 additions and 4 deletions

View File

@ -33,10 +33,7 @@ func (c *UnlockCommand) Run(args []string) int {
}
lockID := args[0]
if len(args) > 1 {
args = args[1:]
}
args = args[1:]
// assume everything is initialized. The user can manually init if this is
// required.