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 ff23301d8c9ce1df62a2f51b6350fef62fa7da3d..0c505e290097bcbe6ecb764e6f756f1df2aa5f85 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