Commit 2617d03a authored by Victor Ananjevsky's avatar Victor Ananjevsky Committed by Craig Small
Browse files

sysctl: Correct stat on /etc/sysctl.conf

sysctl --system fails when the file /etc/sysctl.conf doesn't
exists. This happens due to wrong check of stat(2) return code.

Reference:
  https://www.freelists.org/post/procps/sysctl



Signed-off-by: default avatarCraig Small <csmall@enc.com.au>
parent 6a0850be
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment