]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
lower the log level for dfatal
authorHarald Hoyer <harald@redhat.com>
Mon, 29 Jun 2015 14:14:58 +0000 (16:14 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2015 09:36:33 +0000 (11:36 +0200)
dracut-logger.sh

index 41e04f4be62102a88d9a36d25afb9c23eb4fa313..2a6019c6cdd6ac4167410c564518bc3774f37dca 100755 (executable)
@@ -264,9 +264,9 @@ _lvl2syspri() {
 # Conversion is done as follows:
 #
 # <tt>
-#   FATAL(1) -> LOG_EMERG (0)
+#   none     -> LOG_EMERG (0)
 #   none     -> LOG_ALERT (1)
-#   none     -> LOG_CRIT (2)
+#   FATAL(1) -> LOG_CRIT (2)
 #   ERROR(2) -> LOG_ERR (3)
 #   WARN(3)  -> LOG_WARNING (4)
 #   none     -> LOG_NOTICE (5)
@@ -280,7 +280,7 @@ _dlvl2syslvl() {
     local lvl
 
     case "$1" in
-        1) lvl=0;;
+        1) lvl=2;;
         2) lvl=3;;
         3) lvl=4;;
         4) lvl=6;;