From 387e2cf1ffc242493551108370865551e0e1bbc4 Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Fri, 8 Dec 2017 16:05:40 -0800 Subject: [PATCH] Allow empty string for value --- sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysctl.c b/sysctl.c index aadc2330..834662b3 100644 --- a/sysctl.c +++ b/sysctl.c @@ -396,7 +396,7 @@ static int WriteSetting(const char *setting) /* point to the value in name=value */ value = equals + 1; - if (!*name || !*value || name == equals) { + if (!*name || name == equals) { xwarnx(_("malformed setting \"%s\""), setting); return -2; }