summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ptyc_driver_ctx.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index 7b0b596..4129cf5 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -204,6 +204,15 @@ int ptyc_get_driver_ctx(
cctx.drvflags |= PTYC_DRIVER_VERSION;
break;
+ case TAG_DAEMON:
+ if (!strcmp("always",entry->arg))
+ cctx.drvflags |= PTYC_DRIVER_DAEMON_ALWAYS;
+
+ else if (!strcmp("never",entry->arg))
+ cctx.drvflags |= PTYC_DRIVER_DAEMON_NEVER;
+
+ break;
+
case TAG_DEBUG:
if (!entry->arg) {
cctx.drvflags |= PTYC_DRIVER_DBG_EVENT;