summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-07-25 16:53:33 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2016-07-25 16:53:33 +0200
commit43eb109aa9b8952dbcbfc0ae564d91c180f5d93a (patch)
treed4ef33b2df872eaf3f149827ff33d17ec3f707b6 /src/core
parentf777b4345e8c57e739bda746f78757d0fb136ac7 (diff)
core: change ExecStart=! syntax to ExecStart=+ (#3797)
As suggested by @mbiebl we already use the "!" special char in unit file assignments for negation, hence we should not use it in a different context for privileged execution. Let's use "+" instead.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index ae306de4ae..a36953f766 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -620,7 +620,7 @@ int config_parse_exec(
ignore = true;
else if (*f == '@' && !separate_argv0)
separate_argv0 = true;
- else if (*f == '!' && !privileged)
+ else if (*f == '+' && !privileged)
privileged = true;
else
break;