From 934d92db9f4cf20b6dc2e28912498bf8d5578d23 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 28 May 2019 14:34:48 -0400 Subject: [PATCH] More message improvements --- perl-xCAT/xCAT/PPCrflash.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/PPCrflash.pm b/perl-xCAT/xCAT/PPCrflash.pm index da305f0ff..178817bbb 100644 --- a/perl-xCAT/xCAT/PPCrflash.pm +++ b/perl-xCAT/xCAT/PPCrflash.pm @@ -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; }