diff options
author | rea <rea@FreeBSD.org> | 2012-01-20 17:19:50 +0000 |
---|---|---|
committer | rea <rea@FreeBSD.org> | 2012-01-20 17:19:50 +0000 |
commit | 64180fcce0d869d0ecf44c5a7dd233f97353ec22 (patch) | |
tree | 2c81c8779c3fc85ce5bf1d35394a809f37458b46 /etc/rc.d | |
parent | 0aae67830d90ccea9ede836cb93d4872e3858114 (diff) | |
download | FreeBSD-src-64180fcce0d869d0ecf44c5a7dd233f97353ec22.zip FreeBSD-src-64180fcce0d869d0ecf44c5a7dd233f97353ec22.tar.gz |
dhclient: don't use syslog for logging non-DHCP interface errors
We should show the error to user, but it doesn't deserve syslog.
Approved by: jhb
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/dhclient | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient index d61923d..8fe0931 100755 --- a/etc/rc.d/dhclient +++ b/etc/rc.d/dhclient @@ -25,11 +25,11 @@ dhclient_pre_check() local msg msg="'$ifn' is not a DHCP-enabled interface" if [ -z "${rc_quiet}" ]; then - err 1 "$msg" + echo "$msg" else debug "$msg" - exit 1 fi + exit 1 fi } |