2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

Use . instead of source to source xcat.sh file

This commit is contained in:
Mark Gurevich
2019-06-17 11:25:03 -04:00
parent 18182de018
commit 2c5e727be7

View File

@ -70,7 +70,7 @@ if (xCAT::Utils->isLinux())
{
print "Restarting xCATd ";
if (-r "/etc/profile.d/xcat.sh") {
$cmd = "source /etc/profile.d/xcat.sh;";
$cmd = ". /etc/profile.d/xcat.sh;";
}
$cmd .= "xcatd -p /var/run/xcatd.pid";