summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-11-29 01:02:49 +0000
committerJeremy Katz <katzj@redhat.com>2001-11-29 01:02:49 +0000
commit0ebe95cecd9dc78e162d61ca7dfa4c27b36f6656 (patch)
tree36a65d8c3446e35a6e70dd1d7de6e23b9a560250 /loader
parent1b53489cbf8006f5ec316f7fcad10ec4453c81df (diff)
downloadanaconda-0ebe95cecd9dc78e162d61ca7dfa4c27b36f6656.tar.gz
anaconda-0ebe95cecd9dc78e162d61ca7dfa4c27b36f6656.tar.xz
anaconda-0ebe95cecd9dc78e162d61ca7dfa4c27b36f6656.zip
modules could be loaded if we have a driver disk and are continuing (#56621)
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 50cd23046..56fb8403e 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2682,7 +2682,9 @@ int main(int argc, char ** argv) {
flags |= LOADER_FLAGS_SERIAL;
}
- if (!FL_TESTING(flags)) {
+ /* don't start modules.conf if continuing as there could be modules
+ already loaded from a driver disk */
+ if ((!FL_TESTING(flags)) && !continuing) {
int fd;
fd = open("/tmp/modules.conf", O_WRONLY | O_CREAT, 0666);