ref: 254c00aa7d6a4cbe8b4a0cb02fc2699d72a13cda
parent: ee68c18cd617d58a3ec4bbfb0c821855e279a09b
author: 7heo <7heo@mail.com>
date: Tue Sep 27 19:12:22 CDT 2016
nlplug-findfs: Better messages
--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -585,9 +585,10 @@
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);