mirror of
https://github.com/systemd/systemd.git
synced 2026-07-25 08:45:56 +00:00
core/main: fix maximum number of arguments for shutdown command
Follow-up for c5673ed0de.
This commit is contained in:
@@ -1519,7 +1519,7 @@ static int become_shutdown(int objective, int retval) {
|
||||
exit_code[DECIMAL_STR_MAX(uint8_t) + 1],
|
||||
timeout[DECIMAL_STR_MAX(usec_t) + 1];
|
||||
|
||||
const char* command_line[13] = {
|
||||
const char* command_line[14] = {
|
||||
SYSTEMD_SHUTDOWN_BINARY_PATH,
|
||||
table[objective],
|
||||
"--timeout", timeout,
|
||||
|
||||
Reference in New Issue
Block a user