Skip to content
Snippets Groups Projects
Commit 5e9ced42 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix usage of "node list <node_num> <node_num> [...]"

Only the last node number specified would be listed before this fix.
parent 0a90a39d
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -611,7 +611,7 @@ int main(int argc, char **argv)
if(mode!=MODE_LIST)
modify=1;
if((mode && node_num) || i+1==argc)
if(node_num || i+1==argc)
while(1) {
for(j=1;j<=sys_nodes;j++)
if(!node_num || j==node_num) {
......
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