From 9d543bf812fff757297a1d5a995a85750b53b7f9 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 12 Sep 2002 13:47:02 +0000 Subject: run_program crazyness --- perl-install/network/shorewall.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index 64800bf1a..2cfb25856 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -124,11 +124,11 @@ sub write { if ($conf->{disabled}) { run_program::rooted($::prefix, 'chkconfig', '--del', 'shorewall'); - run_program::run('service', 'shorewall', 'stop') if $::isStandalone; - run_program::run('service', 'shorewall', 'clear') if $::isStandalone; + run_program::run('service', '>', '/dev/null', 'shorewall', 'stop') if $::isStandalone; + run_program::run('service', '>', '/dev/null', 'shorewall', 'clear') if $::isStandalone; } else { run_program::rooted($::prefix, 'chkconfig', '--add', 'shorewall'); - run_program::run('service', 'shorewall', 'restart') if $::isStandalone; + run_program::run('service', '>', '/dev/null', 'shorewall', 'restart') if $::isStandalone; } } -- cgit v1.2.1