mirror of
https://github.com/systemd/systemd
synced 2024-07-08 20:15:55 +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;
|
||||
|
||||
r = add_crypttab_devices();
|
||||
if (r < 0)
|
||||
return r;
|
||||
RET_GATHER(r, add_proc_cmdline_devices());
|
||||
|
||||
r = add_proc_cmdline_devices();
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
return 0;
|
||||
return r;
|
||||
}
|
||||
|
||||
DEFINE_MAIN_GENERATOR_FUNCTION(run);
|
||||
|
|
Loading…
Reference in New Issue
Block a user