2
0
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:
immarvin
2016-12-07 01:58:29 -05:00
parent 3f77234855
commit 46daf64a93

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