From d307c394c25962ec87abeea14f1072554453d8e0 Mon Sep 17 00:00:00 2001 From: bybai Date: Sun, 25 Mar 2018 22:09:23 -0400 Subject: [PATCH] enhance error message for rflash --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 66adaaadd..e4df1466d 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -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; }