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:
		| @@ -18,8 +18,6 @@ start() | |||||||
| 		modprobe -q usbcore | 		modprobe -q usbcore | ||||||
| 	fi | 	fi | ||||||
|  |  | ||||||
| 	[ -e /proc/filesystems ] || return 0 |  | ||||||
|  |  | ||||||
| 	# Setup Kernel Support for miscellaneous Binary Formats | 	# Setup Kernel Support for miscellaneous Binary Formats | ||||||
| 	if [ -d /proc/sys/fs/binfmt_misc -a ! -e /proc/sys/fs/binfmt_misc/register ]; then | 	if [ -d /proc/sys/fs/binfmt_misc -a ! -e /proc/sys/fs/binfmt_misc/register ]; then | ||||||
| 		if grep -qs binfmt_misc /proc/filesystems; then | 		if grep -qs binfmt_misc /proc/filesystems; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user