mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-04-27 11:30:52 +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)
|
||||
}
|
||||
|
||||
if err == nil || err == errPartNotFound { // passphrase not encrypted or not available
|
||||
if err == nil { // passphrase available, no errors
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user