sysctl: fix segfault

Fixes #14801.
This commit is contained in:
Yu Watanabe 2020-02-06 19:13:11 +09:00
parent 5650ec7a11
commit db99904bc8
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ static int parse_file(OrderedHashmap **sysctl_options, const char *path, bool ig
existing = ordered_hashmap_get(*sysctl_options, p);
if (existing) {
if (streq(value, existing->value)) {
if (streq_ptr(value, existing->value)) {
existing->ignore_failure = existing->ignore_failure || ignore_failure;
continue;
}