diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2008-03-14 15:16:57 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2008-03-14 15:16:57 +0000 |
commit | 9f2fd4d57e5ff5511b3879f407c797a53e12f351 (patch) | |
tree | 313510351dc38e8119e3cafe831755c4289f15b0 /add-syslog | |
parent | bb64e10c37f4964791fb33f017e7cc5593269d66 (diff) | |
download | rpm-helper-9f2fd4d57e5ff5511b3879f407c797a53e12f351.tar rpm-helper-9f2fd4d57e5ff5511b3879f407c797a53e12f351.tar.gz rpm-helper-9f2fd4d57e5ff5511b3879f407c797a53e12f351.tar.bz2 rpm-helper-9f2fd4d57e5ff5511b3879f407c797a53e12f351.tar.xz rpm-helper-9f2fd4d57e5ff5511b3879f407c797a53e12f351.zip |
silent service reload, to avoid error message in output
Diffstat (limited to 'add-syslog')
-rwxr-xr-x | add-syslog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -142,7 +142,7 @@ sub add_sysklogd_entry { close($out); # relaunch syslog - system(qw/service syslog condrestart/); + system('service syslog condrestart 2>&1 >/dev/null'); } sub add_syslogng_entry { @@ -231,5 +231,5 @@ sub add_syslogng_entry { close($out); # relaunch syslog-ng - system(qw/service syslog-ng condrestart/); + system('service syslog-ng condrestart 2>&1 >/dev/null'); } |