diff --git a/perl-xCAT/xCAT/PPCcli.pm b/perl-xCAT/xCAT/PPCcli.pm index f128ff341..995de7cf5 100644 --- a/perl-xCAT/xCAT/PPCcli.pm +++ b/perl-xCAT/xCAT/PPCcli.pm @@ -1088,7 +1088,15 @@ sub send_cmd { ########################################## if ($result[3] =~ s/Rc=([0-9])+\r\n//) { if ($1 != 0) { - return ([ RC_ERROR, $result[3] ]); + if ($cmd =~ "lssyscfg -r frame -F") { + # On HMC V10 the "lssyscfg -r frame -F" command returns error, + # ON HMC V9 the same command returns "No results were found" + # Try to catch that command here and return + # "No results were found" like we would on V9 + return ([ NR_ERROR, "No results were found" ]); + } else { + return ([ RC_ERROR, $result[3] ]); + } } } ##########################################