summaryrefslogtreecommitdiffhomepage
path: root/src/driver/ntux_amain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/ntux_amain.c')
-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 0a24125..5b6587e 100644
--- a/src/driver/ntux_amain.c
+++ b/src/driver/ntux_amain.c
@@ -55,6 +55,9 @@ static void ntux_perform_unit_actions(
{
if (dctx->cctx->cmd == NTUX_CMD_STAT)
ntux_cmd_stat(dctx,unit);
+
+ else if (dctx->cctx->cmd == NTUX_CMD_CHMOD)
+ ntux_cmd_chmod(dctx,unit);
}
static int ntux_exit(struct ntux_driver_ctx * dctx, int ret)