diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-19 10:53:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-19 10:53:38 +0000 |
commit | 3f3a82426afa9c25cb977c26c4b8afbaa5194b1a (patch) | |
tree | d8a8a7e212f9b474d9d7cd993ca358edd8080919 /perl-install/install_any.pm | |
parent | 5fe17cecc03757ffc7400b6d915b084929517d3d (diff) | |
download | drakx-backup-do-not-use-3f3a82426afa9c25cb977c26c4b8afbaa5194b1a.tar drakx-backup-do-not-use-3f3a82426afa9c25cb977c26c4b8afbaa5194b1a.tar.gz drakx-backup-do-not-use-3f3a82426afa9c25cb977c26c4b8afbaa5194b1a.tar.bz2 drakx-backup-do-not-use-3f3a82426afa9c25cb977c26c4b8afbaa5194b1a.tar.xz drakx-backup-do-not-use-3f3a82426afa9c25cb977c26c4b8afbaa5194b1a.zip |
(getAndSaveAutoInstallFloppy): ensure mount fail doesn't cause any pb
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 2 |
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; |