mirror of https://github.com/mikaku/Monitorix.git
added a final option that does a substring match
This commit is contained in:
parent
48e1ec6d16
commit
bb2da96483
|
@ -181,6 +181,11 @@ sub process_update {
|
|||
$pro++;
|
||||
next;
|
||||
}
|
||||
if(index($3, $p) != -1) {
|
||||
push(@pid, $1);
|
||||
$pro++;
|
||||
next;
|
||||
}
|
||||
}
|
||||
if(substr($p, 0, 15) eq substr($_, 6, 15)) {
|
||||
push(@pid, $1);
|
||||
|
|
Loading…
Reference in New Issue