summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-23 03:40:20 +0000
committermidipix <writeonce@midipix.org>2018-05-22 23:49:18 -0400
commit5ec9b67e061e7bf839d6ae986354190d2e1e0037 (patch)
tree3f79cfd3ed355d2f5198e323d74d5ac270651dc6 /src/driver
parent105c6c4b81ce64192e304827942a9aa65c8dd059 (diff)
downloadntux-5ec9b67e061e7bf839d6ae986354190d2e1e0037.tar.bz2
ntux-5ec9b67e061e7bf839d6ae986354190d2e1e0037.tar.xz
ntux_cmd_spawn(): initial implementation and integration.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ntux_amain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/ntux_amain.c b/src/driver/ntux_amain.c
index 5a9dfc9..9a1d9e1 100644
--- a/src/driver/ntux_amain.c
+++ b/src/driver/ntux_amain.c
@@ -77,6 +77,9 @@ int ntux_main(int argc, char ** argv, char ** envp)
if ((ntux_version(dctx)) < 0)
return ntux_exit(dctx,NTUX_ERROR);
+ if (dctx->cctx->cmd == NTUX_CMD_SPAWN)
+ ntux_cmd_spawn(dctx);
+
for (unit=dctx->units; *unit; unit++)
ntux_perform_unit_actions(dctx,*unit);