diff options
author | Sven Eden <sven.eden@prydeworx.com> | 2018-11-08 07:53:08 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-11-08 08:02:57 +0100 |
commit | b3ced55dae5e496d5e8741ca5e4fb5a4ba62a9a3 (patch) | |
tree | 8e61e8fb72686800e106e1cf40bf00e4558cab9a /src/basic/proc-cmdline.c | |
parent | 0300d4f6e98ae9c3cf65ce6719b3b4111e384621 (diff) |
Prep v239.2: Fix migration errors in basic
Diffstat (limited to 'src/basic/proc-cmdline.c')
-rw-r--r-- | src/basic/proc-cmdline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/proc-cmdline.c b/src/basic/proc-cmdline.c index ab8cab7e3..67da8d3cd 100644 --- a/src/basic/proc-cmdline.c +++ b/src/basic/proc-cmdline.c @@ -61,11 +61,15 @@ int proc_cmdline_parse_given(const char *line, proc_cmdline_parse_t parse_item, /* Filter out arguments that are intended only for the initrd */ q = startswith(word, "rd."); if (q) { +#if 0 /// elogind is never in initrd. Doesn't make any sense. if (!in_initrd()) continue; if (flags & PROC_CMDLINE_STRIP_RD_PREFIX) key = q; +#else + continue; +#endif // 0 } value = strchr(key, '='); |