2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

Merge pull request #2283 from immarvin/onmakentp

fix issue [DEV] 'makentp -a' always return 1 #2282
This commit is contained in:
Xiaopeng Wang
2016-12-07 15:22:00 +08:00
committed by GitHub

View File

@@ -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");
}
}