1
0
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:
David Tardon 2024-05-30 13:33:57 +02:00 committed by Yu Watanabe
parent 47c703d949
commit d181939e2e

View File

@ -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);