commit:     6d81d3be1bcba81a68086f2a17561d13e1f844e6
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Apr 19 18:59:12 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 18:59:12 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6d81d3be

procfs: do not test for the existence of /proc/filesystems

The test for the existence of /proc/filesystems is redundant since we
always return success.

 init.d/procfs.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/init.d/procfs.in b/init.d/procfs.in
index 888f062..ae6c859 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -18,8 +18,6 @@ start()
                modprobe -q usbcore
        fi
 
-       [ -e /proc/filesystems ] || return 0
-
        # Setup Kernel Support for miscellaneous Binary Formats
        if [ -d /proc/sys/fs/binfmt_misc -a ! -e 
/proc/sys/fs/binfmt_misc/register ]; then
                if grep -qs binfmt_misc /proc/filesystems; then

Reply via email to