mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-23 19:50:21 +00:00
More message improvements
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user