[PATCH] modules.d/99base/init: missing slash in ismounted check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ismounted sys -> ismounted /sys

Signed-off-by: Michal Soltys <soltys@xxxxxxxx>
---
 modules.d/99base/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/99base/init b/modules.d/99base/init
index f07ad40..094dfc9 100755
--- a/modules.d/99base/init
+++ b/modules.d/99base/init
@@ -98,7 +98,7 @@ else
     unset _tmp
 fi
 
-ismounted sys || \
+ismounted /sys || \
     mount -t sysfs -o nosuid,noexec,nodev /sys /sys >/dev/null 2>&1
 
 if ! ismounted /dev; then
-- 
1.7.4.2

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux