diff options
Diffstat (limited to 'etc/rc.d/sysctl')
-rwxr-xr-x | etc/rc.d/sysctl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl index 623956d..d1a42d1 100755 --- a/etc/rc.d/sysctl +++ b/etc/rc.d/sysctl @@ -36,7 +36,9 @@ parse_file() ${val}) ;; *) - sysctl "${var}" + if ! sysctl "${var}" >/dev/null 2>&1; then + warn "unable to set ${var}" + fi ;; esac elif [ "$2" = "last" ]; then |