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

Fix issues when a persons path has numbers in it with test1.101.

parent c1413861
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,9 @@ set node_cnt 99 ...@@ -102,7 +102,9 @@ set node_cnt 99
send "echo \$SLURM_NNODES\r" send "echo \$SLURM_NNODES\r"
expect { expect {
-re "($number)" { -re "($number)" {
set node_cnt $expect_out(1,string) if { $node_cnt == 99 } {
set node_cnt $expect_out(1,string)
}
exp_continue exp_continue
} }
-re "$prompt" { -re "$prompt" {
......
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