summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-30 02:19:43 +0200
committerDave Reisner <dreisner@archlinux.org>2011-10-09 23:48:31 +0200
commit8449563df408c437dd162b87417c3e16ea7974bd (patch)
treee1cabb305fc3284919a6d25bf02e3ef1461c10dd /init
parent2478492fec8cc140c6aad69f8a102a587f2b68e8 (diff)
downloadmkinitcpio-8449563df408c437dd162b87417c3e16ea7974bd.tar.gz
mkinitcpio-8449563df408c437dd162b87417c3e16ea7974bd.tar.xz
[mkinitcpio] Remove early redirection 2>/dev/null such node does not exists.
An empty file will be created in any case, does not cause any harm, but for correctness. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'init')
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 855a054..cd012c9 100644
--- a/init
+++ b/init
@@ -9,7 +9,7 @@ busybox --install -s
mkdir -p /new_root
mount -t proc proc /proc -o nosuid,noexec,nodev
mount -t sysfs sys /sys -o nosuid,noexec,nodev
-if grep -q devtmpfs /proc/filesystems 2>/dev/null; then
+if grep -q devtmpfs /proc/filesystems; then
mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid
devtmpfs_mounted=1
else