2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-23 03:30:33 +00:00

More message improvements

This commit is contained in:
Mark Gurevich
2019-05-28 14:34:48 -04:00
parent a761eb5404
commit 934d92db9f

View File

@@ -376,8 +376,7 @@ sub preprocess_for_rflash {
my @xmllist = grep /\.xml$/, @dirlist;
if (@rpmlist == 0 | @xmllist == 0) {
#send_msg($request, 1, "There isn't any rpm and xml files in the directory $packages_d!");
$callback->({ data => ["There isn't any rpm and xml files in the directory $packages_d!"] });
$callback->({ data => ["There are no rpm and xml files in the directory $packages_d!"] });
$request = ();
return -1;
}