summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-30 22:33:50 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-30 22:33:50 +0200
commit32c6d387bf8bef65edab442d521c2f93bbf2cd2d (patch)
tree26f650e6d6e3c51c748c2b4c545f3a87dbe67696 /src/systemctl
parent23a749f2857088547c8ef3966e96b37c71510a1b (diff)
parent0260d1d542da73b3358fa659fb1fa634badbf00e (diff)
Merge pull request #1422 from keszybz/sd-daemon-mq-badf
sd-daemon: fix return value for sd_is_mq
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index b8ffcdadec..6d33badba4 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3110,7 +3110,7 @@ static int start_special(int argc, char *argv[], void *userdata) {
return r;
} else if (a == ACTION_EXIT && argc > 1) {
- uint8_t code = 0;
+ uint8_t code;
/* If the exit code is not given on the command line,
* don't reset it to zero: just keep it as it might