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

Set the correct variable

parent fa8aafe0
No related branches found
No related tags found
No related merge requests found
...@@ -1891,12 +1891,12 @@ proc available_nodes { partition state } { ...@@ -1891,12 +1891,12 @@ proc available_nodes { partition state } {
set partition [default_partition] set partition [default_partition]
} }
if {[string length state] == 0} { if {[string length $state] == 0} {
set state "idle,alloc,comp" set state "idle,alloc,comp"
} }
set available -1 set available -1
#send_user "$sinfo --noheader --partition $partition --state idle,alloc,comp --format %D\n" #send_user "$sinfo --noheader --partition $partition --state $state --format %D\n"
set fd [open "|$sinfo --noheader --partition $partition --state $state --format %D"] set fd [open "|$sinfo --noheader --partition $partition --state $state --format %D"]
gets $fd line gets $fd line
catch {close $fd} catch {close $fd}
......
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