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

Signed-off-by: Gerardo Exequiel Pozzi <[email protected]>
---
 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
   devtmpfs_mounted=1
 else
-- 
1.7.6

Reply via email to