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/core.c | |
parent | 98fab52b74ea9cbf7bdac7a022504fc6be90be88 (diff) |
rest: add retcode to shell/output
Add retcode field to specify return code of shell invocation.
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ static void og_client_release(struct ev_loop *loop, struct og_client *cli) ev_timer_stop(loop, &cli->timer); ev_io_stop(loop, &cli->io); close(cli->io.fd); - free((void *)cli->shell_output); + free((void *)cli->shell.output); free(cli); } |