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

bugfix: wc -l on OSX had leading spaces

parent e88bc153
......@@ -106,7 +106,7 @@ sub count_running_workers {
# warn "LSF::count_running_workers() running cmd:\n\t$cmd\n";
my $run_count = qx/$cmd/;
chomp($run_count);
$run_count=~s/\s+//g; # remove both leading and trailing spaces
return $run_count;
}
......
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