summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/shorewall.pm6
1 files changed, 3 insertions, 3 deletions
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;
}
}