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 8d0a25b + 545b6df commit c2a94b5Copy full SHA for c2a94b5
src/tools/prte/prte.c
@@ -461,7 +461,7 @@ int main(int argc, char *argv[])
461
/* parse the input argv to get values, including everyone's MCA params */
462
PMIX_CONSTRUCT(&results, pmix_cli_result_t);
463
// check for special case of executable immediately following tool
464
- if (proxyrun && '-' != pargv[1][0]) {
+ if (proxyrun && pargc > 1 && '-' != pargv[1][0]) {
465
results.tail = PMIx_Argv_copy(&pargv[1]);
466
} else {
467
rc = schizo->parse_cli(pargv, &results, PMIX_CLI_WARN);
0 commit comments