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:
@ -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";
|
||||
|
Reference in New Issue
Block a user