mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
commit
e97e5fa8f9
@ -537,7 +537,7 @@ sub switch_goconserver {
|
||||
sub switch_conserver {
|
||||
my $callback = shift;
|
||||
# ignore SN as it is handled by AAsn
|
||||
if ((-x "/usr/bin/systemctl" || -x "-x /bin/systemctl") && !$isSN) {
|
||||
if ((-x "/usr/bin/systemctl" || -x "/bin/systemctl") && !$isSN) {
|
||||
my $cmd = "systemctl disable goconserver";
|
||||
if (-x "/usr/bin/goconserver") {
|
||||
xCAT::Utils->runcmd($cmd, -1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user