Skip to content

Commit

Permalink
Match the longname of a process more accurately
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan Schwertly committed Dec 11, 2013
1 parent 977d843 commit 14c8394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Linode/Longview/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ sub application_preflight {
unless ($found) {
for my $longname (grep {/^Processes\..*\.longname/} keys (%{$dataref->{INSTANT}})){
for my $sig (@$signatures) {
if($dataref->{INSTANT}->{$longname} =~ /$sig$/){
if($dataref->{INSTANT}->{$longname} =~ /\b$sig\b/){
$found = 1;
last;
}
Expand Down

0 comments on commit 14c8394

Please sign in to comment.