We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca38f30 + 79a2165 commit 8788bcfCopy full SHA for 8788bcf
cf-runagent/cf-runagent.c
@@ -266,7 +266,7 @@ int main(int argc, char *argv[])
266
if (fork() == 0) /* child process */
267
{
268
int remote_exit_code = HailServer(ctx, config, RlistScalarValue(rp));
269
- DoCleanupAndExit(remote_exit_code > 0 ? remote_exit_code : CF_RA_EXIT_CODE_OTHER_ERR);
+ DoCleanupAndExit(remote_exit_code >= 0 ? remote_exit_code : CF_RA_EXIT_CODE_OTHER_ERR);
270
}
271
else /* parent process */
272
0 commit comments