cryptsetup: upgrade log line for option parsing error

If we failed here, we would exit with only a debug message.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-09-24 10:54:10 +02:00
parent 115a7fb624
commit be36bc1e14
1 changed files with 1 additions and 1 deletions

View 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;