summaryrefslogtreecommitdiffstats
path: root/src/core.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-21 14:10:13 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-21 14:12:02 +0200
commit12d5caf6a6af5cb4870d375e185341909fc61b7e (patch)
tree11809851babe6041b5705447e9e53f876bcaf7a7 /src/core.c
parent98fab52b74ea9cbf7bdac7a022504fc6be90be88 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 24fee79..eaed6bb 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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);
}