diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2010-02-04 19:58:44 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2010-02-04 19:58:44 +0000 |
commit | 2d7e2a4632883f20be850a557122ce2b36b9daf2 (patch) | |
tree | b55579b954f47a8c8f8b705d3582106c5e2b4477 | |
parent | 44b94b3bd47628da83c85fb1d0ab1b14d41a8bd2 (diff) | |
download | rpm-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-x | del-syslog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |