]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
[PATCH 07/50] Get rid of `` subprocess expansion when killing udevd.
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 13 Feb 2009 12:41:47 +0000 (04:41 -0800)
committerDave Jones <davej@redhat.com>
Mon, 16 Feb 2009 18:56:40 +0000 (13:56 -0500)
$() subprocess expansion is so much easier to read.

init

diff --git a/init b/init
index 2b7aa3641a845309e10324946347e80599c62813..599f8adf334393aefbc90bc08d724208622070d9 100755 (executable)
--- a/init
+++ b/init
@@ -101,7 +101,7 @@ if [ -x $NEWROOT/usr/sbin/load_policy ]; then
 fi
 
 # kill off udev
-kill `pidof udevd`
+kill $(pidof udevd)
 
 [ -x /bin/plymouth ] && plymouth --newroot=$NEWROOT