From 1eea470950b9a27f5a19e50796cbcef16e9d80b8 Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Fri, 20 Jan 2012 17:19:50 +0000 Subject: [PATCH] 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 d61923d2170f..8fe09313aefe 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 }