From 64180fcce0d869d0ecf44c5a7dd233f97353ec22 Mon Sep 17 00:00:00 2001 From: rea Date: Fri, 20 Jan 2012 17:19:50 +0000 Subject: 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 --- etc/rc.d/dhclient | 4 ++-- 1 file 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 } -- cgit v1.1