From be36bc1e14df4f2d398f71acfa9ebe93ce31272b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 24 Sep 2020 10:54:10 +0200 Subject: [PATCH] cryptsetup: upgrade log line for option parsing error If we failed here, we would exit with only a debug message. --- src/cryptsetup/cryptsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3