]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
syslog: fixed warn() and dwarning() calls
authorHarald Hoyer <harald@redhat.com>
Tue, 15 Mar 2011 14:41:04 +0000 (15:41 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 15 Mar 2011 18:51:07 +0000 (19:51 +0100)
modules.d/98syslog/module-setup.sh
modules.d/98syslog/syslog-genrules.sh

index 968fba06cbfce13a14f0f2dfb812f0f0a2d3914f..4db3e84c61edb252985c8df4cbacd2d95c6319be 100755 (executable)
@@ -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
index d2000e05753f3d767b569d3e10fab60b653ba063..0aa3df0261c23be5b585b78a00ddd131f5e266a4 100755 (executable)
@@ -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" ]