]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/dracut-cmdline.sh: print out cmdline in one line
authorHarald Hoyer <harald@redhat.com>
Tue, 18 Aug 2015 09:52:56 +0000 (11:52 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Nov 2015 14:57:36 +0000 (15:57 +0100)
(cherry picked from commit 93a5a3d3ca6738e3f0282c4d3fc8be3f38f150d3)

modules.d/98dracut-systemd/dracut-cmdline.sh

index 871f81b86dcda007da942b844cf474d56c84e20e..a1dcf845816b3ed1d8d16c1a8d7a0414835d7100 100755 (executable)
@@ -14,8 +14,7 @@ if ! getargbool 1 'rd.hostonly'; then
     [ -f /tmp/99-cmdline-ask.conf ] && mv /tmp/99-cmdline-ask.conf /etc/cmdline.d/99-cmdline-ask.conf
 fi
 
-info "Using kernel command line parameters:"
-getcmdline | vinfo
+info "Using kernel command line parameters:" $(getcmdline)
 
 getargbool 0 rd.udev.log-priority=info -d rd.udev.info -d -n -y rdudevinfo && echo 'udev_log="info"' >> /etc/udev/udev.conf
 getargbool 0 rd.udev.log-priority=debug -d rd.udev.debug -d -n -y rdudevdebug && echo 'udev_log="debug"' >> /etc/udev/udev.conf