diff options
-rw-r--r-- | nlplug-findfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nlplug-findfs.c b/nlplug-findfs.c index 3f6680d..f4fed71 100644 --- a/nlplug-findfs.c +++ b/nlplug-findfs.c @@ -585,9 +585,10 @@ static void *cryptsetup_thread(void *data) pthread_mutex_unlock(&c->cryptsetup_mutex); if (r >= 0) - break; + goto free_out; printf("No key available with this passphrase.\n"); } + printf("Mounting %s failed, amount of tries exhausted.\n", c->crypt.devnode); free_out: crypt_free(cd); |