Skip to content
Snippets Groups Projects
Commit 6b8a3ee5 authored by Moe Jette's avatar Moe Jette
Browse files

Fix squeue output format for "%s" (node select data).

parent b2ac7764
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ documents those changes that are of interest to users and admins.
-- Don't display any completed jobs in smap.
-- Add NodeCnt to filetxt job completion plugin.
-- Minor restructuring of how MMCS is polled for DOWN nodes and switches.
-- Fix squeue output format for "%s" (node select data).
* Changes in SLURM 0.4.4
========================
......
......@@ -607,7 +607,12 @@ extern char *select_g_sprint_jobinfo(select_jobinfo_t jobinfo,
return NULL;
}
if (jobinfo->geometry[0] == (uint16_t) NO_VAL) {
if (jobinfo == NULL) {
if (mode != SELECT_PRINT_HEAD) {
error("select_g_sprint_jobinfo: jobinfo bad");
return NULL;
}
} else if (jobinfo->geometry[0] == (uint16_t) NO_VAL) {
for (i=0; i<SYSTEM_DIMENSIONS; i++)
geometry[i] = 0;
} else {
......
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