Commit fdbcd14a authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: better parsing of the LSF-job-name

parent 2952e74e
......@@ -44,7 +44,7 @@ sub count_pending_workers_by_rc_name {
my %pending_by_rc_name = ();
foreach my $line (qx/$cmd/) {
if($line=~/\b\Q$jnp\E(.+)\-\d+\b/) {
if($line=~/\b\Q$jnp\E(\S+)\-\d+(\[\d+\])?\b/) {
$pending_by_rc_name{$1}++;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment