Commit 8ce5f0e7 authored by Franco Fichtner's avatar Franco Fichtner

system: simplify sysctl setting again

parent b025a54d
......@@ -125,11 +125,7 @@ function activate_sysctls()
$value = $tunable['value'];
}
if ($value !== null) {
$sysctls[$tunable['tunable']] = $value;
} else {
log_error(sprintf(gettext('ignoring sysctl `%s\' due to empty value'), $tunable['tunable']));
}
$sysctls[$tunable['tunable']] = $value;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment