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:
@@ -904,7 +904,7 @@ static int append_exec_command(sd_bus_message *reply, ExecCommand *c) {
|
||||
return r;
|
||||
|
||||
r = sd_bus_message_append(reply, "bttttuii",
|
||||
c->ignore,
|
||||
!!(c->flags & EXEC_COMMAND_IGNORE_FAILURE),
|
||||
c->exec_status.start_timestamp.realtime,
|
||||
c->exec_status.start_timestamp.monotonic,
|
||||
c->exec_status.exit_timestamp.realtime,
|
||||
|
||||
Reference in New Issue
Block a user