Skip to content
Snippets Groups Projects
Commit 667b45d1 authored by Danny Auble's avatar Danny Auble
Browse files

make sure user can get to the configure part of smap if slurm is down.

parent 8d5ddc3b
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,13 @@ int main(int argc, char *argv[])
if (error_code) {
printf("slurm_load_node: %s\n",
slurm_strerror(slurm_get_errno()));
exit(0);
#ifdef HAVE_BGL
if(params.display == COMMANDS)
pa_init(NULL);
else
#endif
exit(0);
} else {
pa_init(new_node_ptr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment