diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 9455aaf78..d5335de51 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -607,7 +607,7 @@ sub parse_command_status { } if ($command eq "rbeacon") { - $subcommand = $ARGV[0]; + $subcommand = $$subcommands[0]; if ($subcommand eq "on") { $next_status{LOGIN_RESPONSE} = "RBEACON_ON_REQUEST";