summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-03 13:12:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-03 13:12:13 +0000
commit23c259c90cbed0280c9e23b3c9763363c148c472 (patch)
tree608f1f62a585f39703a8f42d83447dfcf045a826 /perl-install/devices.pm
parent5d3903d31de512391136aa05e77de530baceb64a (diff)
downloaddrakx-23c259c90cbed0280c9e23b3c9763363c148c472.tar
drakx-23c259c90cbed0280c9e23b3c9763363c148c472.tar.gz
drakx-23c259c90cbed0280c9e23b3c9763363c148c472.tar.bz2
drakx-23c259c90cbed0280c9e23b3c9763363c148c472.tar.xz
drakx-23c259c90cbed0280c9e23b3c9763363c148c472.zip
do not use "local my $F, ...", use "local(my $F, ...) instead
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 153017cdc..3d97a13b4 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -53,7 +53,7 @@ sub set_loop {
if ($encrypt_key && $encryption) {
my $cmd = "losetup -p 0 -e $encryption $dev $file";
log::l("calling $cmd");
- open my $F, "|$cmd";
+ open(my $F, "|$cmd");
print $F $encrypt_key;
close $F or die "losetup failed";
} else {