diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-03 13:12:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-03 13:12:13 +0000 |
commit | 23c259c90cbed0280c9e23b3c9763363c148c472 (patch) | |
tree | 608f1f62a585f39703a8f42d83447dfcf045a826 /perl-install/devices.pm | |
parent | 5d3903d31de512391136aa05e77de530baceb64a (diff) | |
download | drakx-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.pm | 2 |
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 { |