summaryrefslogtreecommitdiffstats
path: root/ldadp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldadp.c')
-rw-r--r--ldadp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldadp.c b/ldadp.c
index 3f69745..2152903 100644
--- a/ldadp.c
+++ b/ldadp.c
@@ -155,6 +155,8 @@ static int loadConfig_handler(void *stuff, const char *section, const char *key,
keyFile = strdup(value);
} else if (strcmp(key, "debug") == 0) {
_debugLevel = atoi(value);
+ } else if (strcmp(key, "autorestart") == 0) {
+ _autoRestart = atoi(value) != 0;
} else {
printf("Unknown local config option '%s'\n", key);
}