syslog: fixed warn() and dwarning() calls

master
Harald Hoyer 2011-03-15 15:41:04 +01:00
parent fe17f4e86b
commit 29cfd6c80b
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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" ]