aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2010-02-04 19:58:44 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2010-02-04 19:58:44 +0000
commit2d7e2a4632883f20be850a557122ce2b36b9daf2 (patch)
treeb55579b954f47a8c8f8b705d3582106c5e2b4477
parent44b94b3bd47628da83c85fb1d0ab1b14d41a8bd2 (diff)
downloadrpm-helper-2d7e2a4632883f20be850a557122ce2b36b9daf2.tar
rpm-helper-2d7e2a4632883f20be850a557122ce2b36b9daf2.tar.gz
rpm-helper-2d7e2a4632883f20be850a557122ce2b36b9daf2.tar.bz2
rpm-helper-2d7e2a4632883f20be850a557122ce2b36b9daf2.tar.xz
rpm-helper-2d7e2a4632883f20be850a557122ce2b36b9daf2.zip
silent initscript invocation
-rwxr-xr-xdel-syslog4
1 files changed, 2 insertions, 2 deletions
diff --git a/del-syslog b/del-syslog
index 8df0bb8..62b9767 100755
--- a/del-syslog
+++ b/del-syslog
@@ -51,7 +51,7 @@ sub del_sysklogd_entry {
print $out $content;
close($out);
- system(qw/service syslog condrestart/);
+ system('service syslog condrestart 2>&1 >/dev/null');
}
sub del_rsyslog_entry {
@@ -71,7 +71,7 @@ sub del_rsyslog_entry {
unlink $file
or die "Can't delete $file: $!";
- system(qw/service rsyslog condrestart/);
+ system('service rsyslog condrestart 2>&1 >/dev/null');
}
1;