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
This commit is contained in:
Eygene Ryabinkin 2012-01-20 17:19:50 +00:00
parent 44e489690c
commit 1eea470950

View File

@ -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
}