summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-28 14:23:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-28 14:23:11 +0000
commitd4178937242d469346dd36a879004c5a230fd454 (patch)
tree8f14971b179ebeba31799fc2f7a4ebc459014466
parent3b85913ffd5ff8ab8708269fbb2bb819fb417bd5 (diff)
downloaddrakx-backup-do-not-use-d4178937242d469346dd36a879004c5a230fd454.tar
drakx-backup-do-not-use-d4178937242d469346dd36a879004c5a230fd454.tar.gz
drakx-backup-do-not-use-d4178937242d469346dd36a879004c5a230fd454.tar.bz2
drakx-backup-do-not-use-d4178937242d469346dd36a879004c5a230fd454.tar.xz
drakx-backup-do-not-use-d4178937242d469346dd36a879004c5a230fd454.zip
better error message
-rw-r--r--perl-install/network/tinyfirewall.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tinyfirewall.pm b/perl-install/network/tinyfirewall.pm
index 39df72521..602c0023f 100644
--- a/perl-install/network/tinyfirewall.pm
+++ b/perl-install/network/tinyfirewall.pm
@@ -108,7 +108,7 @@ sub get_ports {
sub set_ports {
my ($disabled, $ports) = @_;
- my $shorewall = network::shorewall::read() || network::shorewall::default_interfaces() or die '';
+ my $shorewall = network::shorewall::read() || network::shorewall::default_interfaces() or die _("No network card");
$shorewall->{disabled} = $disabled;
$shorewall->{ports} = $$ports;