Fix addon service pid/memory display if the addon name has numbers.

This commit is contained in:
Arne Fitzenreiter
2011-02-10 19:49:23 +01:00
parent 0ccf2cc417
commit 7fb1b9f680
2 changed files with 2 additions and 0 deletions

View File

@@ -279,6 +279,7 @@ sub isrunningaddon{
if ( $testcmd =~ /is\ running/ && $testcmd !~ /is\ not\ running/){
$status = "<td align='center' bgcolor='${Header::colourgreen}'><font color='white'><b>$Lang::tr{'running'}</b></font></td>";
$testcmd =~ s/.* //gi;
$testcmd =~ s/[a-z_]//gi;
$testcmd =~ s/\[[0-1]\;[0-9]+//gi;
$testcmd =~ s/[\(\)\.]//gi;