Skip to content

Commit

Permalink
Fix copy/paste error
Browse files Browse the repository at this point in the history
Use correct variable in comparison code.

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Dec 4, 2023
1 parent 95854c4 commit 8bf1146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/prte/prte.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,8 @@ int main(int argc, char *argv[])
if (PMIX_CHECK_CLI_OPTION(targv[i], PRTE_CLI_ALLOC)) {
prte_set_attribute(&jdata->attributes, PRTE_JOB_DISPLAY_ALLOC,
PRTE_ATTR_GLOBAL, NULL, PMIX_BOOL);
} else if (PMIX_CHECK_CLI_OPTION(cptr, PRTE_CLI_PARSEABLE) ||
PMIX_CHECK_CLI_OPTION(cptr, PRTE_CLI_PARSABLE)) {
} else if (PMIX_CHECK_CLI_OPTION(targv[i], PRTE_CLI_PARSEABLE) ||
PMIX_CHECK_CLI_OPTION(targv[i], PRTE_CLI_PARSABLE)) {
prte_set_attribute(&jdata->attributes, PRTE_JOB_DISPLAY_PARSEABLE_OUTPUT,
PRTE_ATTR_GLOBAL, NULL, PMIX_BOOL);
}
Expand Down

0 comments on commit 8bf1146

Please sign in to comment.