summaryrefslogtreecommitdiff
path: root/src/cryptsetup
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-01-21 20:20:35 +0100
committerLennart Poettering <lennart@poettering.net>2019-01-23 23:37:17 +0100
commit906962f312e3f17b1e76cc6b9f4f344d76df1d7f (patch)
treef6a23eca0abb87a228861dc187b221f0b68d6ed0 /src/cryptsetup
parent44ce4255147ab308c1f13580147c693204c322e8 (diff)
downloadsystemd-906962f312e3f17b1e76cc6b9f4f344d76df1d7f.tar.gz
cryptsetup: add comment what EAGAIN means when activating
Diffstat (limited to 'src/cryptsetup')
-rw-r--r--src/cryptsetup/cryptsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c
index c8e90cf60d..56d3e34895 100644
--- a/src/cryptsetup/cryptsetup.c
+++ b/src/cryptsetup/cryptsetup.c
@@ -697,7 +697,7 @@ static int run(int argc, char *argv[]) {
flags);
if (r >= 0)
break;
- if (r == -EAGAIN) {
+ if (r == -EAGAIN) { /* Passphrase not correct? Let's try again! */
key_file = NULL;
continue;
}