mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
cryptsetup-generator: always process cmdline devices
This commit is contained in:
parent
47c703d949
commit
d181939e2e
|
@ -939,14 +939,9 @@ static int run(const char *dest, const char *dest_early, const char *dest_late)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
r = add_crypttab_devices();
|
r = add_crypttab_devices();
|
||||||
if (r < 0)
|
RET_GATHER(r, add_proc_cmdline_devices());
|
||||||
return r;
|
|
||||||
|
|
||||||
r = add_proc_cmdline_devices();
|
return r;
|
||||||
if (r < 0)
|
|
||||||
return r;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_MAIN_GENERATOR_FUNCTION(run);
|
DEFINE_MAIN_GENERATOR_FUNCTION(run);
|
||||||
|
|
Loading…
Reference in a new issue