From d4178937242d469346dd36a879004c5a230fd454 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 28 Aug 2002 14:23:11 +0000 Subject: better error message --- perl-install/network/tinyfirewall.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1