summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-08 03:47:08 +0000
committermidipix <writeonce@midipix.org>2018-06-08 20:48:12 -0400
commit8ce751a076c92576b232738445994aef1ef53a0a (patch)
treec437e5c8fc9083a2fcb6542d010abc6354b2eaf8 /src/driver
parent9682ca0c7b54a8bf6c7e3fd7fdfa9b974d955860 (diff)
downloadntux-8ce751a076c92576b232738445994aef1ef53a0a.tar.bz2
ntux-8ce751a076c92576b232738445994aef1ef53a0a.tar.xz
ntux_cmd_strace(): 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 9a1d9e1..5ecc267 100644
--- a/src/driver/ntux_amain.c
+++ b/src/driver/ntux_amain.c
@@ -80,6 +80,9 @@ int ntux_main(int argc, char ** argv, char ** envp)
if (dctx->cctx->cmd == NTUX_CMD_SPAWN)
ntux_cmd_spawn(dctx);
+ if (dctx->cctx->cmd == NTUX_CMD_STRACE)
+ ntux_cmd_strace(dctx);
+
for (unit=dctx->units; *unit; unit++)
ntux_perform_unit_actions(dctx,*unit);