Skip to contentSkip to conversation

Get rid of `` subprocess expansion when killing udevd.

PATCH In review initramfs mailing list 1 participant 1 message Feb 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 7/50 Get rid of `` subprocess expansion when killing udevd.

Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=8b691309de20bb20c064cf8c9bd3502a9eddc76a
Commit:     8b691309de20bb20c064cf8c9bd3502a9eddc76a
Parent:     39b4c02111cae677cc33c731ab146c94404110c7
Author:     Victor Lowther <[email protected]>
AuthorDate: Fri Feb 13 04:41:47 2009 -0800
Committer:  Dave Jones <[email protected]>
CommitDate: Mon Feb 16 13:56:40 2009 -0500

[PATCH 07/50] Get rid of `` subprocess expansion when killing udevd.

$() subprocess expansion is so much easier to read.

---
 init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
init +1 -1
index 2b7aa36..599f8ad 100755
@@ -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
 

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html