From: Harald Hoyer Date: Tue, 15 Mar 2011 14:41:04 +0000 (+0100) Subject: syslog: fixed warn() and dwarning() calls X-Git-Tag: 009~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29cfd6c80b33129e82bfb1f60a5c8dd72a7dca51;p=thirdparty%2Fdracut.git syslog: fixed warn() and dwarning() calls --- diff --git a/modules.d/98syslog/module-setup.sh b/modules.d/98syslog/module-setup.sh index 968fba06c..4db3e84c6 100755 --- a/modules.d/98syslog/module-setup.sh +++ b/modules.d/98syslog/module-setup.sh @@ -24,7 +24,7 @@ install() { elif type -P syslog-ng >/dev/null; then installs="syslog-ng" 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 if [ -n "$installs" ]; then dracut_install cat diff --git a/modules.d/98syslog/syslog-genrules.sh b/modules.d/98syslog/syslog-genrules.sh index d2000e057..0aa3df026 100755 --- a/modules.d/98syslog/syslog-genrules.sh +++ b/modules.d/98syslog/syslog-genrules.sh @@ -14,7 +14,7 @@ detect_syslog() { elif [ /sbin/syslog-ng ]; then syslogtype="syslog-ng" 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 echo "$syslogtype" [ -n "$syslogtype" ]