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.
This commit is contained in:
parent
8d307a6fad
commit
6d81d3be1b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user