diff options
Diffstat (limited to 'ldadp.c')
-rw-r--r-- | ldadp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |