summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-06 13:36:45 -0500
committermidipix <writeonce@midipix.org>2016-03-08 14:21:07 -0500
commit071d14658f92af8e478e1941a9d82cb8ab3079d6 (patch)
treef58d2b42d71ee977888f6f9407dac18bf3ade1fb /src/driver
parent667ce2f86fd6c3566ed8fdc38bdd66e932cba7da (diff)
downloadslibtool-071d14658f92af8e478e1941a9d82cb8ab3079d6.tar.bz2
slibtool-071d14658f92af8e478e1941a9d82cb8ab3079d6.tar.xz
driver: added context initialization for --dry-run.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index d9136fd..3eb7231 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -150,6 +150,10 @@ int slbt_get_driver_ctx(
else if (!strcmp("uninstall",entry->arg))
cctx.mode = SLBT_MODE_UNINSTALL;
break;
+
+ case TAG_DRY_RUN:
+ cctx.drvflags |= SLBT_DRIVER_DRY_RUN;
+ break;
}
} else
nunits++;