2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-06-20 02:21:05 +00:00

Make the restart rsyslogd operation never return non-zero

This commit is contained in:
GONG Jie
2015-09-08 18:35:01 +08:00
parent 0a1576ccad
commit b041be4d27
+1 -1
View File
@@ -202,7 +202,7 @@ then
fi
# Lets rsyslogd perform close all open files
kill -HUP $(</var/run/rsyslogd.pid) >/dev/null 2>&1
kill -HUP $(</var/run/rsyslogd.pid) >/dev/null 2>&1 || :
%endif
# create dir for the current pid