fix defect 3668
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9524019f0b
commit
465c5471a0
@ -125,7 +125,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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user