core: add serialization/deserialization for ExecCommand

This commit is contained in:
Luca Boccassi
2023-10-12 14:56:25 +01:00
parent 5699a1689b
commit b806a5d35e
3 changed files with 76 additions and 5 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ struct ExecStatus {
struct ExecCommand {
char *path;
char **argv;
ExecStatus exec_status;
ExecStatus exec_status; /* Note that this is not serialized to sd-executor */
ExecCommandFlags flags;
LIST_FIELDS(ExecCommand, command); /* useful for chaining commands */
};