mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
Merge pull request #1234 from medhefgo/master
cryptsetup-generator: Properly check return code
This commit is contained in:
commit
89921f6ed0
@ -330,7 +330,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) {
|
||||
free(d->keyfile);
|
||||
d->keyfile = uuid_value;
|
||||
uuid_value = NULL;
|
||||
} else if (free_and_strdup(&arg_default_keyfile, value))
|
||||
} else if (free_and_strdup(&arg_default_keyfile, value) < 0)
|
||||
return log_oom();
|
||||
|
||||
} else if (STR_IN_SET(key, "luks.name", "rd.luks.name") && value) {
|
||||
|
Loading…
Reference in New Issue
Block a user