mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-31 00:31:19 +00:00
fix issue [DEV] 'makentp -a' always return 1 #2282
This commit is contained in:
@@ -454,11 +454,12 @@ sub process_request {
|
||||
},
|
||||
$sub_req, -1, 1
|
||||
);
|
||||
my $retcode=$::RUNCMD_RC;
|
||||
my $msg;
|
||||
foreach my $line (@$ret) {
|
||||
$msg .= "$line\n";
|
||||
}
|
||||
send_msg(\%request, 1, "$msg");
|
||||
send_msg(\%request, $retcode, "$msg");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user