diff options
Diffstat (limited to 'loader2/cdinstall.c')
-rw-r--r-- | loader2/cdinstall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c index edd5a2357..2ada33864 100644 --- a/loader2/cdinstall.c +++ b/loader2/cdinstall.c @@ -308,6 +308,7 @@ char * setupCdrom(char * location, /* JKFIXME: ASSERT -- we have a cdrom device when we get here */ do { for (i = 0; devices[i]; i++) { + if (!devices[i]->device) continue; logMessage("trying to mount CD device %s", devices[i]->device); devMakeInode(devices[i]->device, "/tmp/cdrom"); if (!doPwMount("/tmp/cdrom", "/mnt/source", "iso9660", 1, 0, |