chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e9f40
)
conf-parser: make parsing exit status lists non-fatal
author
Lennart Poettering
<lennart@poettering.net>
Tue, 14 Aug 2012 20:04:11 +0000
(22:04 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 16 Aug 2012 15:10:57 +0000
(17:10 +0200)
src/shared/conf-parser.c
patch
|
blob
|
history
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index f3e258a65cd2a819d864de8de50654e6c31b1d3e..68ab80470e5348ae0d7c0cc160edb74f136324d0 100644
(file)
--- 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;
}