mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-06 10:18:20 +00:00
Fix rpower reset when a pdu is configured
This commit is contained in:
@@ -131,7 +131,7 @@ sub process_request
|
||||
return powerstat($noderange, $callback);
|
||||
}elsif ($command eq "rpower") {
|
||||
my $subcmd = $exargs[0];
|
||||
if(($subcmd eq 'on') || ($subcmd eq 'off') || ($subcmd eq 'stat')){
|
||||
if(($subcmd eq 'on') || ($subcmd eq 'off') || ($subcmd eq 'stat') || ($subcmd eq 'reset')){
|
||||
#-------------------------------------------
|
||||
#there are 2 cases will enter this black
|
||||
#one is if node's mgt is pdu
|
||||
|
Reference in New Issue
Block a user