From: Zbigniew Jędrzejewski-Szmek Date: Thu, 24 Sep 2020 08:54:10 +0000 (+0200) Subject: cryptsetup: upgrade log line for option parsing error X-Git-Tag: v247-rc1~138^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be36bc1e14df4f2d398f71acfa9ebe93ce31272b;p=thirdparty%2Fsystemd.git cryptsetup: upgrade log line for option parsing error If we failed here, we would exit with only a debug message. --- diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 7d0571f1475..78efe19f238 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -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;