core: fix writing blank sysctl values

Sometimes we need to write blank values.
This commit is contained in:
Dan Williams
2013-01-17 13:54:02 -06:00
parent ce586cc679
commit 43952e28c2

View File

@@ -615,7 +615,6 @@ nm_utils_do_sysctl (const char *path, const char *value)
g_return_val_if_fail (path != NULL, FALSE);
g_return_val_if_fail (value != NULL, FALSE);
g_return_val_if_fail (value[0], FALSE);
fd = open (path, O_WRONLY | O_TRUNC);
if (fd == -1) {