syslog: fixed warn() and dwarning() calls
parent
fe17f4e86b
commit
29cfd6c80b
|
|
@ -24,7 +24,7 @@ install() {
|
||||||
elif type -P syslog-ng >/dev/null; then
|
elif type -P syslog-ng >/dev/null; then
|
||||||
installs="syslog-ng"
|
installs="syslog-ng"
|
||||||
else
|
else
|
||||||
dwarn "Could not find any syslog binary although the syslogmodule is selected to be installed. Please check."
|
dwarning "Could not find any syslog binary although the syslogmodule is selected to be installed. Please check."
|
||||||
fi
|
fi
|
||||||
if [ -n "$installs" ]; then
|
if [ -n "$installs" ]; then
|
||||||
dracut_install cat
|
dracut_install cat
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ detect_syslog() {
|
||||||
elif [ /sbin/syslog-ng ]; then
|
elif [ /sbin/syslog-ng ]; then
|
||||||
syslogtype="syslog-ng"
|
syslogtype="syslog-ng"
|
||||||
else
|
else
|
||||||
dwarn "Could not find any syslog binary although the syslogmodule is selected to be installed. Please check."
|
warn "Could not find any syslog binary although the syslogmodule is selected to be installed. Please check."
|
||||||
fi
|
fi
|
||||||
echo "$syslogtype"
|
echo "$syslogtype"
|
||||||
[ -n "$syslogtype" ]
|
[ -n "$syslogtype" ]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue