2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-14 02:10:23 +00:00

enhance error message for rflash

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

View File

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