diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-20 19:52:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-20 19:52:33 +0000 |
commit | b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3 (patch) | |
tree | d42205550d30ec092f9743748bcec938017f985b /lib/network/vpn | |
parent | 683619174a6cd634655ac6a489b5a6efb1b5b3cc (diff) | |
download | drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar.gz drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar.bz2 drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar.xz drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.zip |
perl_checker cleanups
Diffstat (limited to 'lib/network/vpn')
-rw-r--r-- | lib/network/vpn/openvpn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/vpn/openvpn.pm b/lib/network/vpn/openvpn.pm index 68e1b3f..05f68f3 100644 --- a/lib/network/vpn/openvpn.pm +++ b/lib/network/vpn/openvpn.pm @@ -294,7 +294,7 @@ sub cache_pkcs11_tokens { } } } - foreach $slot_id (keys %{$pkcs11_tokens->{slots}}) { + foreach my $slot_id (keys %{$pkcs11_tokens->{slots}}) { my ($type, $label); my @stdout; #- do rooted_get_stdout manually because pkcs11-tool may exit with non-zero code with proprietary modules run_program::rooted($::prefix, '/usr/bin/pkcs11-tool', '>', \@stdout, '--module', $openvpn_default_pkcs11_provider, '-O', '--slot', $slot_id); |