loop may not always be a module - if not, modprobe will barf, but we should still proceed.

This commit is contained in:
fsgqa
2002-06-05 02:24:23 +00:00
parent 3ef12e3824
commit 7b5ee5b09f
+1 -1
View File
@@ -387,7 +387,7 @@ _require_logdev()
#
_require_loop()
{
modprobe loop
modprobe loop >/dev/null 2>&1
if grep loop /proc/devices >/dev/null 2>&1
then
: