summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_amain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 8c29e8d..25a1159 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -67,6 +67,9 @@ static void slbt_perform_driver_actions(struct slbt_driver_ctx * dctx)
if (dctx->cctx->mode == SLBT_MODE_LINK)
slbt_exec_link(dctx,0);
+
+ if (dctx->cctx->mode == SLBT_MODE_UNINSTALL)
+ slbt_exec_uninstall(dctx,0);
}
static void slbt_perform_unit_actions(struct slbt_unit_ctx * uctx)