cryptsetup-generator: always process cmdline devices

This commit is contained in:
David Tardon
2024-06-12 18:46:39 +09:00
committed by Yu Watanabe
parent 47c703d949
commit d181939e2e
+2 -7
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);