2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #5009 from bybai/errormsg

enhance error message for rflash
This commit is contained in:
xuweibj 2018-03-26 10:42:30 +08:00 committed by GitHub
commit 1e1d5b5a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,"Can't open directory : $tarfile_path"], $callback);
closedir(DIR);
return 1;
}