[arch-projects] [PATCH] [mkinitcpio] Remove early redirection 2>/dev/null such node does not exists.

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Mon Aug 29 20:24:16 EDT 2011

An empty file will be created in any case, does not cause any harm, but for correctness.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
 init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init b/init
index 8c8709c..11773b1 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

More information about the arch-projects mailing list