summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-01 10:49:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-01 10:49:29 +0000
commit2c80aa5feabe31cf09dd748fde2214a27b118448 (patch)
tree4d1ebc3b0cca35f91f5f60b24fb46553ba76478b /perl-install/install_any.pm
parent1ac2349ae9e3dbb5c0a7f8a01cacf29428bcd7fe (diff)
downloaddrakx-backup-do-not-use-2c80aa5feabe31cf09dd748fde2214a27b118448.tar
drakx-backup-do-not-use-2c80aa5feabe31cf09dd748fde2214a27b118448.tar.gz
drakx-backup-do-not-use-2c80aa5feabe31cf09dd748fde2214a27b118448.tar.bz2
drakx-backup-do-not-use-2c80aa5feabe31cf09dd748fde2214a27b118448.tar.xz
drakx-backup-do-not-use-2c80aa5feabe31cf09dd748fde2214a27b118448.zip
simplify
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index e58cf38cf..d2ded823c 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -732,7 +732,7 @@ sub getAndSaveInstallFloppy {
getAndSaveFile("images/$image.img", $where) or log::l("failed to write Install Floppy ($image.img) to $where"), return;
push @generated_floppies, $where;
}
- return @generated_floppies;
+ @generated_floppies;
}
sub getAndSaveAutoInstallFloppy {
@@ -781,8 +781,7 @@ sub getAndSaveAutoInstallFloppy {
my $param = 'kickstart=floppy ' . generate_automatic_stage1_params($o);
- my @generated_floppies = getAndSaveInstallFloppy($o, $imagefile);
- @generated_floppies or return;
+ my @generated_floppies = getAndSaveInstallFloppy($o, $imagefile) or return;
my $dev = devices::set_loop($imagefile) or log::l("couldn't set loopback device"), return;
foreach my $fs (qw(ext2 vfat)) {