From 4746c560a46302d7e5be213bc58d00a10e620ab0 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 31 Jul 2008 22:13:14 +0000 Subject: [PATCH] Oops, restore the recent changes to make startup messages quieter. --- etc/rc.d/sysctl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl index 623956d63b1..d1a42d152df 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