summaryrefslogtreecommitdiffstats
path: root/loader/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/modules.c')
-rw-r--r--loader/modules.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/loader/modules.c b/loader/modules.c
index 58671ca47..5ed349984 100644
--- a/loader/modules.c
+++ b/loader/modules.c
@@ -425,11 +425,16 @@ static char * filterDriverModules(struct driverDiskInfo * ddi,
myCpioFilterArchive(from, to, pattern);
- newtPopWindow();
-
gunzip_close(from);
gunzip_close(to);
- umount("/tmp/drivers");
+ while(1) {
+ int rc;
+ rc = umount("/tmp/drivers");
+ if (rc != -1)
+ break;
+ }
+
+ newtPopWindow();
return toPath;
}