summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 80b2d92e3..e9c0a3dc2 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -803,7 +803,7 @@ sub getAndSaveAutoInstallFloppy {
getAndSaveInstallFloppy($o, $imagefile) or return;
my $dev = devices::set_loop($imagefile) or log::l("couldn't set loopback device"), return;
- fs::mount($dev, $mountdir, 'vfat', 0);
+ eval { fs::mount($dev, $mountdir, 'vfat', 0); 1 } or return;
substInFile {
s/timeout.*/$replay ? 'timeout 1' : ''/e;