systemctl: do not set variable to be immediately overwritten

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2015-09-30 12:33:31 -04:00
parent a19c7a4a4b
commit 7bbb5359c0
+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