diff options
-rw-r--r-- | nlplug-findfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nlplug-findfs.c b/nlplug-findfs.c index 78a5ebe..b0281a0 100644 --- a/nlplug-findfs.c +++ b/nlplug-findfs.c @@ -411,7 +411,7 @@ static void *cryptsetup_thread(void *data) pass, strlen(pass), 0); pthread_mutex_unlock(&c->cryptsetup_mutex); - if (r == 0) + if (r >= 0) break; printf("No key available with this passphrase.\n"); } |