Merge pull request #1422 from keszybz/sd-daemon-mq-badf

sd-daemon: fix return value for sd_is_mq
This commit is contained in:
Lennart Poettering
2015-09-30 22:33:50 +02:00
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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