1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

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

View File

@ -3110,7 +3110,7 @@ static int start_special(int argc, char *argv[], void *userdata) {
return r; return r;
} else if (a == ACTION_EXIT && argc > 1) { } 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, /* If the exit code is not given on the command line,
* don't reset it to zero: just keep it as it might * don't reset it to zero: just keep it as it might