18971c
From 93a5a3d3ca6738e3f0282c4d3fc8be3f38f150d3 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Tue, 18 Aug 2015 11:52:56 +0200
18971c
Subject: [PATCH] systemd/dracut-cmdline.sh: print out cmdline in one line
18971c
18971c
---
18971c
 modules.d/98systemd/dracut-cmdline.sh | 3 +--
18971c
 1 file changed, 1 insertion(+), 2 deletions(-)
18971c
18971c
diff --git a/modules.d/98systemd/dracut-cmdline.sh b/modules.d/98systemd/dracut-cmdline.sh
18971c
index 8a5ab2ff..9d15663e 100755
18971c
--- a/modules.d/98systemd/dracut-cmdline.sh
18971c
+++ b/modules.d/98systemd/dracut-cmdline.sh
18971c
@@ -15,8 +15,7 @@ type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
18971c
 [ -f /etc/initrd-release ] && . /etc/initrd-release
18971c
 [ -n "$VERSION" ] && info "dracut-$VERSION"
18971c
 
18971c
-info "Using kernel command line parameters:"
18971c
-getcmdline | vinfo
18971c
+info "Using kernel command line parameters:" $(getcmdline)
18971c
 
18971c
 getargbool 0 rd.udev.log-priority=info -d rd.udev.info -d -n -y rdudevinfo && echo 'udev_log="info"' >> /etc/udev/udev.conf
18971c
 getargbool 0 rd.udev.log-priority=debug -d rd.udev.debug -d -n -y rdudevdebug && echo 'udev_log="debug"' >> /etc/udev/udev.conf