diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-08-20 14:01:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-08-20 14:01:25 +0200 |
commit | 476cfe626dac41bb9879116c701333caa2ccec24 (patch) | |
tree | 8dbe0a2070a3881632e621f98769f27473aa8ee1 /src/analyze | |
parent | 4f55a5b0bf1e68e4595120d8ac4b518654355fc3 (diff) | |
download | systemd-476cfe626dac41bb9879116c701333caa2ccec24.tar.gz |
core: remove support for ConditionNull=
The concept is flawed, and mostly useless. Let's finally remove it.
It has been deprecated since 90a2ec10f2d43a8530aae856013518eb567c4039 (6
years ago) and we started to warn since
55dadc5c57ef1379dbc984938d124508a454be55 (1.5 years ago).
Let's get rid of it altogether.
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze-condition.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/analyze/analyze-condition.c b/src/analyze/analyze-condition.c index 13f75e813a..e1365e1805 100644 --- a/src/analyze/analyze-condition.c +++ b/src/analyze/analyze-condition.c @@ -38,9 +38,7 @@ static int parse_condition(Unit *u, const char *line) { p += strspn(p, WHITESPACE); - if (t == CONDITION_NULL) /* deprecated, but we should still parse this for now */ - callback = config_parse_unit_condition_null; - else if (condition_takes_path(t)) + if (condition_takes_path(t)) callback = config_parse_unit_condition_path; else callback = config_parse_unit_condition_string; |