summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-12 12:44:10 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-12 12:44:10 +0200
commit3e70a25bcf2fb49fbc81d110d3186bddf4f81ad0 (patch)
treecb2e402cacddd246df071cdce3e8fd03b5ef5a54
parent3e6c9011d0f42e19c1c5e2b04b41073100edcf14 (diff)
downloaddracut-3e70a25bcf2fb49fbc81d110d3186bddf4f81ad0.tar.gz
dracut-3e70a25bcf2fb49fbc81d110d3186bddf4f81ad0.tar.bz2
dracut-3e70a25bcf2fb49fbc81d110d3186bddf4f81ad0.zip
dracut-logger.sh: saveguard logger with --
-rwxr-xr-xdracut-logger.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut-logger.sh b/dracut-logger.sh
index ff23301d..0c505e29 100755
--- a/dracut-logger.sh
+++ b/dracut-logger.sh
@@ -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