dracut-logger: /dev/log is socket, not character device
Fixed typo in error message by the way.master
parent
d1ef3951f3
commit
d60b71e8e8
|
@ -137,12 +137,12 @@ dlog_init() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $sysloglvl -gt 0 ]; then
|
if [ $sysloglvl -gt 0 ]; then
|
||||||
if ! [ -c /dev/log -a -w /dev/log ] || ! command -v logger >/dev/null
|
if ! [ -S /dev/log -a -w /dev/log ] || ! command -v logger >/dev/null
|
||||||
then
|
then
|
||||||
# We cannot log to syslog, so turn this facility off.
|
# We cannot log to syslog, so turn this facility off.
|
||||||
sysloglvl=0
|
sysloglvl=0
|
||||||
ret=1
|
ret=1
|
||||||
errmsg="No '/dev/log' or 'logger' not included for syslog logging"
|
errmsg="No '/dev/log' or 'logger' included for syslog logging"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue