2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +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 3fbae953fe
commit 4409d69baf

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