fix defect 3668

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-07-09 16:35:06 +00:00
parent f2d4b07d2b
commit ba524d3dba

View File

@ -133,7 +133,7 @@ unless ($pidfile) {
#start syslog if it is not up
if (xCAT::Utils->isLinux()) {
my $init_file="/etc/init.d/syslog";
if (-f "/etc/fedora-release") {
if ((-f "/etc/fedora-release") || (-f "/etc/redhat-release")) {
$init_file="/etc/init.d/rsyslog";
}
if ( -x $init_file ) {