diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-11 22:13:58 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-11 22:13:58 +0000 |
commit | 3f2fff95386862944f1e9cd1e29a7b3709802539 (patch) | |
tree | 45f12f74ce9c9ff44b747fda3ef013798da52688 /mdk-stage1/lomount.c | |
parent | de59f070372d5a5e782a5e703a6e2003d47f7bd2 (diff) | |
download | drakx-backup-do-not-use-3f2fff95386862944f1e9cd1e29a7b3709802539.tar drakx-backup-do-not-use-3f2fff95386862944f1e9cd1e29a7b3709802539.tar.gz drakx-backup-do-not-use-3f2fff95386862944f1e9cd1e29a7b3709802539.tar.bz2 drakx-backup-do-not-use-3f2fff95386862944f1e9cd1e29a7b3709802539.tar.xz drakx-backup-do-not-use-3f2fff95386862944f1e9cd1e29a7b3709802539.zip |
continue anyway when insmod'ing of modules fail (for blank.img)
Diffstat (limited to 'mdk-stage1/lomount.c')
-rw-r--r-- | mdk-stage1/lomount.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mdk-stage1/lomount.c b/mdk-stage1/lomount.c index 7150694d1..232ef57ce 100644 --- a/mdk-stage1/lomount.c +++ b/mdk-stage1/lomount.c @@ -131,10 +131,7 @@ lomount(char *loopfile, char *where) flag = MS_MGC_VAL; flag |= MS_RDONLY; - if (my_insmod("loop", ANY_DRIVER_TYPE, NULL)) { - log_message("can't lomount without loop.o kernel driver"); - return 1; - } + my_insmod("loop", ANY_DRIVER_TYPE, NULL); if (set_loop(loopdev, loopfile)) { log_message("set_loop failed on %s (%s)\n", loopdev, strerror(errno)); |