summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2016-06-13 18:28:42 +0400
committerLennart Poettering <lennart@poettering.net>2016-06-13 16:28:42 +0200
commitdcd61450026c281c916f12c2affa220e0994ba19 (patch)
treec860dab75fc7750b38c4752c87dfd19f82a48b47 /src/core
parent68884a0b8a29ce8a7c2a2671b84e2c7b9c6cb674 (diff)
core: parse `rd.rescue` and `rd.emergency` as initrd-specific shorthands (#3488)
Typing `rd.rescue` is easier than `rd.systemd.unit=rescue.target`.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 93098daa9b..2785a3aa0b 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -409,7 +409,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) {
if (detect_container() > 0)
log_set_target(LOG_TARGET_CONSOLE);
- } else if (!in_initrd() && !value) {
+ } else if (!value) {
const char *target;
/* SysV compatibility */