diff options
author | John Baldwin <jhb@FreeBSD.org> | 2008-07-31 22:13:14 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2008-07-31 22:13:14 +0000 |
commit | 4746c560a46302d7e5be213bc58d00a10e620ab0 (patch) | |
tree | 841416e7c18de228d2a7824b311325c97197d119 /etc/rc.d/sysctl | |
parent | 4ceda705b7fd022f40e7405c4cb42b2b952e0943 (diff) | |
download | src-4746c560a46302d7e5be213bc58d00a10e620ab0.tar.gz src-4746c560a46302d7e5be213bc58d00a10e620ab0.zip |
Oops, restore the recent changes to make startup messages quieter.
Notes
Notes:
svn path=/head/; revision=181071
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 623956d63b1d..d1a42d152df4 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 |