Skip to content

Commit f9814fd

Browse files
committed
Update the directive list in check_multi
When checking for multiple directives, need to use the "rtos" directive instead of "runtime-options". Change to using the definitions for the directives to ensure this follows along. Signed-off-by: Ralph Castain <[email protected]>
1 parent 413ff22 commit f9814fd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/mca/schizo/base/schizo_base_stubs.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "src/util/pmix_basename.h"
3131
#include "src/util/pmix_environ.h"
3232
#include "src/util/pmix_show_help.h"
33+
#include "src/util/prte_cmd_line.h"
3334

3435
prte_schizo_base_module_t *prte_schizo_base_detect_proxy(char *cmdpath)
3536
{
@@ -70,10 +71,10 @@ PRTE_EXPORT void prte_schizo_base_root_error_msg(void)
7071
static bool check_multi(const char *target)
7172
{
7273
char *multi_dirs[] = {
73-
"display",
74-
"output",
75-
"tune",
76-
"runtime-options",
74+
PRTE_CLI_DISPLAY,
75+
PRTE_CLI_OUTPUT,
76+
PRTE_CLI_TUNE,
77+
PRTE_CLI_RTOS,
7778
NULL
7879
};
7980
int n;

0 commit comments

Comments
 (0)