execute: replace command flag bools by a flags field
This way, we can extend it later on in an easier way, and can pass it along nicely.
This commit is contained in:
+1
-1
@@ -2776,7 +2776,7 @@ static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) {
|
||||
if (s->control_command) {
|
||||
exec_status_exit(&s->control_command->exec_status, &s->exec_context, pid, code, status);
|
||||
|
||||
if (s->control_command->ignore)
|
||||
if (s->control_command->flags & EXEC_COMMAND_IGNORE_FAILURE)
|
||||
f = SOCKET_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user