diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 14:10:13 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 14:12:02 +0200 |
commit | 12d5caf6a6af5cb4870d375e185341909fc61b7e (patch) | |
tree | 11809851babe6041b5705447e9e53f876bcaf7a7 /src/rest.h | |
parent | 98fab52b74ea9cbf7bdac7a022504fc6be90be88 (diff) |
rest: add retcode to shell/output
Add retcode field to specify return code of shell invocation.
Diffstat (limited to 'src/rest.h')
-rw-r--r-- | src/rest.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -71,7 +71,10 @@ struct og_client { bool autorun; uint32_t speed; uint32_t seq; - const char *shell_output; + struct { + const char *output; + uint32_t retcode; + } shell; }; void og_client_add(struct og_client *cli); |