]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: upgrade log line for option parsing error
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Sep 2020 08:54:10 +0000 (10:54 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Sep 2020 14:36:51 +0000 (16:36 +0200)
If we failed here, we would exit with only a debug message.

src/cryptsetup/cryptsetup.c

index 7d0571f14757c7edefdd0cf21a70f2ec82ce0b34..78efe19f238446f096969ea97d9c3369d30e35cf 100644 (file)
@@ -296,7 +296,7 @@ static int parse_options(const char *options) {
 
                 r = extract_first_word(&options, &word, ",", EXTRACT_DONT_COALESCE_SEPARATORS);
                 if (r < 0)
-                        return log_debug_errno(r, "Failed to parse options: %m");
+                        return log_error_errno(r, "Failed to parse options: %m");
                 if (r == 0)
                         break;