diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-13 15:56:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-13 15:56:00 +0000 |
commit | 4b9d142bd37dcdc94b7bcdbdb3f7109d7a915e25 (patch) | |
tree | a12104a3a9468cc42b83634feb5e6a2e72003532 /perl-install/network/ipsec.pm | |
parent | f298cec9f7d4bb4dc1972cc737007b6da86d4cb0 (diff) | |
download | drakx-4b9d142bd37dcdc94b7bcdbdb3f7109d7a915e25.tar drakx-4b9d142bd37dcdc94b7bcdbdb3f7109d7a915e25.tar.gz drakx-4b9d142bd37dcdc94b7bcdbdb3f7109d7a915e25.tar.bz2 drakx-4b9d142bd37dcdc94b7bcdbdb3f7109d7a915e25.tar.xz drakx-4b9d142bd37dcdc94b7bcdbdb3f7109d7a915e25.zip |
better english (writing style rather than spoken one)
Diffstat (limited to 'perl-install/network/ipsec.pm')
-rw-r--r-- | perl-install/network/ipsec.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/network/ipsec.pm b/perl-install/network/ipsec.pm index bc6706c50..c0ee6e2fb 100644 --- a/perl-install/network/ipsec.pm +++ b/perl-install/network/ipsec.pm @@ -373,7 +373,7 @@ sub write_racoon_conf { } } -open(my $ADD, "> $racoon_conf") or die "Can't open the $racoon_conf file for writing"; +open(my $ADD, "> $racoon_conf") or die "Can not open the $racoon_conf file for writing"; print $ADD "$display\n"; } @@ -509,7 +509,7 @@ sub read_ipsec_conf { local $_; if ($kernel_version < 2.5) { #- kernel 2.4 part ------------------------------- - open(my $LIST, "< $ipsec_conf"); #or die "Can't open the $ipsec_conf file for reading"; + open(my $LIST, "< $ipsec_conf"); #or die "Can not open the $ipsec_conf file for reading"; while (<$LIST>) { chomp($_); $line = $_; @@ -551,7 +551,7 @@ sub read_ipsec_conf { #- kernel 2.6 part ------------------------------- my @mylist; my $myline = ""; - open(my $LIST, "< $ipsec_conf"); #or die "Can't open the $ipsec_conf file for reading"; + open(my $LIST, "< $ipsec_conf"); #or die "Can not open the $ipsec_conf file for reading"; while (<$LIST>) { chomp($_); $myline = $_; @@ -591,7 +591,7 @@ sub write_ipsec_conf { my ($ipsec_conf, $ipsec, $kernel_version) = @_; if ($kernel_version < 2.5) { #- kernel 2.4 part ------------------------------- - open(my $ADD, "> $ipsec_conf") or die "Can't open the $ipsec_conf file for writing"; + open(my $ADD, "> $ipsec_conf") or die "Can not open the $ipsec_conf file for writing"; foreach my $key1 (ikeys %$ipsec) { print $ADD "$ipsec->{$key1}\n" if ! $ipsec->{$key1}{1}; foreach my $key2 (ikeys %{$ipsec->{$key1}}) { @@ -624,7 +624,7 @@ sub write_ipsec_conf { $ipsec->{$key1}{level} . ";\n" }; } - open(my $ADD, "> $ipsec_conf") or die "Can't open the $ipsec_conf file for writing"; + open(my $ADD, "> $ipsec_conf") or die "Can not open the $ipsec_conf file for writing"; print $ADD $display; } } |