summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-02-04 01:00:08 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-04 01:00:08 +0100
commit7b404564707f9ad35ebbf377f83e46f590f6b7ca (patch)
tree442cc214db20f1ad5e2408292719a5b43258794d /init
parent8182def24483ea7894e0153fb56668555ebf2656 (diff)
downloadmkinitcpio-7b404564707f9ad35ebbf377f83e46f590f6b7ca.tar.gz
mkinitcpio-7b404564707f9ad35ebbf377f83e46f590f6b7ca.tar.xz
Silence errors when killing udevd
udev forks some processes, and sometimes minips returns multiple PIDs. The error messages are annoying, so we'll simply remove them Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'init')
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 3706391..87dcc77 100644
--- a/init
+++ b/init
@@ -129,7 +129,7 @@ fi
#Special handling if udev is running
udevpid=$(/bin/minips -C udevd -o pid=)
if [ -n "${udevpid}" ]; then
- /bin/kill -9 ${udevpid}
+ /bin/kill -9 ${udevpid} > /dev/null 2>&1
/bin/sleep 0.01
fi