sysctl: don't consider missing kernel options fatal

This commit is contained in:
Lennart Poettering 2010-11-18 23:03:42 +01:00
parent 8e1bd70d4c
commit 24a3597372

View file

@ -54,6 +54,8 @@ static void apply_sysctl(const char *property, const char *value) {
if ((r = write_one_line_file(p, value)) < 0) {
log_warning("Failed to write '%s' to '%s': %s", value, p, strerror(-r));
if (r != -ENOENT)
exit_code = r;
}