dracut-logger.sh: saveguard logger with --
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 10:44:10 +0000 (12:44 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 10:44:10 +0000 (12:44 +0200)
dracut-logger.sh

index ff23301..0c505e2 100755 (executable)
@@ -323,7 +323,7 @@ _do_dlog() {
         if [[ "$_dlogfd" ]]; then
             echo "<$(_dlvl2syslvl $lvl)>$msg" >&$_dlogfd
         else
-            logger -t "dracut[$$]" -p $(_lvl2syspri $lvl) "$msg"
+            logger -t "dracut[$$]" -p $(_lvl2syspri $lvl) -- "$msg"
         fi
     fi