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:
parent
44e489690c
commit
1eea470950
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user