2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 19:52:03 +00:00

enhance error message for rflash

This commit is contained in:
bybai 2018-03-25 22:03:09 -04:00
parent e25352bfd7
commit 14398e6688

View File

@ -1966,7 +1966,7 @@ sub parse_command_status {
}
} elsif (defined $tarfile_path) {
if (!opendir(DIR, $tarfile_path)) {
xCAT::SvrUtils::sendmsg("Can't open directory : $tarfile_path", $callback);
xCAT::SvrUtils::sendmsg([1,"No BMC tar file found in $tarfile_path"], $callback);
closedir(DIR);
return 1;
}