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:
parent
115a7fb624
commit
be36bc1e14
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue