summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ntux_amain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/ntux_amain.c b/src/driver/ntux_amain.c
index 11741c9..7749f63 100644
--- a/src/driver/ntux_amain.c
+++ b/src/driver/ntux_amain.c
@@ -51,8 +51,8 @@ static void ntux_perform_unit_actions(
const struct ntux_driver_ctx * dctx,
const char * unit)
{
- (void)dctx;
- (void)unit;
+ if (dctx->cctx->cmd == NTUX_CMD_STAT)
+ ntux_cmd_stat(dctx,unit);
}
static int ntux_exit(struct ntux_driver_ctx * dctx, int ret)