diff options
author | jhb <jhb@FreeBSD.org> | 2008-07-31 22:13:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-07-31 22:13:14 +0000 |
commit | 9c7525b3ac9d147ed50fdd2bbd0728d63af7968a (patch) | |
tree | 841416e7c18de228d2a7824b311325c97197d119 | |
parent | 4072a30fef4ea74ad58a682821fc0f0e248e8512 (diff) | |
download | FreeBSD-src-9c7525b3ac9d147ed50fdd2bbd0728d63af7968a.zip FreeBSD-src-9c7525b3ac9d147ed50fdd2bbd0728d63af7968a.tar.gz |
Oops, restore the recent changes to make startup messages quieter.
-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 |