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: Craig Small <csmall@enc.com.au>
This commit is contained in:
parent
6a0850be7b
commit
2617d03a33
Loading…
Reference in New Issue
Block a user