diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-14 22:04:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-16 17:10:57 +0200 |
commit | 07cacf5f3b80fa0dfa5dd12531881118aa3b09ca (patch) | |
tree | ff342a693ab22bcd7eefdded6b646a85af8089ae /src | |
parent | 16e9f408fa9a9626059bdd6c89dc175e06b9e976 (diff) |
conf-parser: make parsing exit status lists non-fatal
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/conf-parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index f3e258a65c..68ab80470e 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -981,8 +981,8 @@ int config_parse_set_status( return r; } } else { - log_error("[%s:%u] Failed to parse value: %s", filename, line, w); - return r; + log_error("[%s:%u] Failed to parse value, ignoring: %s", filename, line, w); + return 0; } } else { free(temp); @@ -1001,7 +1001,7 @@ int config_parse_set_status( } } } - } + return 0; } |