mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-08-11 19:31:50 +00:00
Drop unnecessary condition
Signed-off-by: mudler <mudler@c3os.io>
This commit is contained in:
parent
f8e7a0df87
commit
076a50b2e9
@ -106,7 +106,7 @@ func (c *Client) waitPass(p *block.Partition, attempts int) (pass string, err er
|
|||||||
return c.decryptPassphrase(pass)
|
return c.decryptPassphrase(pass)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err == nil || err == errPartNotFound { // passphrase not encrypted or not available
|
if err == nil { // passphrase available, no errors
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user