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

fix for one_liner option in scontrol to print correctly one line for each...

fix for one_liner option in scontrol to print correctly one line for each entry instead of one line for entire group
parent 77dae77a
No related branches found
No related tags found
No related merge requests found
......@@ -727,7 +727,11 @@ line7: /****** Line 7 ******/
xstrcat(out, tmp_line);
}
#endif
xstrcat(out, "\n\n");
if (one_liner)
xstrcat(out, "\n");
else
xstrcat(out, "\n\n");
return out;
......
......@@ -222,9 +222,9 @@ slurm_sprint_node_table (node_info_t * node_ptr,
node_ptr->tmp_disk, node_ptr->weight);
xstrcat(out, tmp_line);
if (one_liner)
xstrcat(out, " ");
else
xstrcat(out, "\n");
else
xstrcat(out, "\n\n");
return out;
}
......
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