diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-17 07:40:58 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-17 07:40:58 +0000 |
| commit | 71d0f6fa56cb2645db9841d34666e030a8f8e06b (patch) | |
| tree | 9563b3c151ab2274684c77beb57f78b06de191ec | |
| parent | slave: report exec() failure back to main process (diff) | |
conf: add support for overriding shell
| -rw-r--r-- | config.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -93,6 +93,11 @@ parse_section_main(char *line, struct config *conf, const char *path, unsigned l conf->font = strdup(value); } + else if (strcmp(key, "shell") == 0) { + free(conf->shell); + conf->shell = strdup(value); + } + else { LOG_ERR("%s:%u: invalid key: %s", path, lineno, key); return false; |
