chiark / gitweb /
sysctl: avoiding exiting with error on -EEXIST
authorDave Reisner <dreisner@archlinux.org>
Sat, 6 Oct 2012 20:32:17 +0000 (16:32 -0400)
committerDave Reisner <dreisner@archlinux.org>
Sat, 6 Oct 2012 20:41:30 +0000 (16:41 -0400)
commit1a3f40f912670d3dea3811a4560b368412090b81
tree507506240220ce3f087e167c40804abc4a272b69
parent8bd3b8620c80d0f2383f2fb04315411fc8077ca1
sysctl: avoiding exiting with error on -EEXIST

If the final key in any sysctl.d file is a duplicate, systemd-sysctl
will exit with an error (and no explaination why). Ignore this, as
duplicate keys are to be expected when overriding settings in the
directory hierarchy.
src/sysctl/sysctl.c