X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fupnp.cgi;h=07dfa2677c970e49a9be6ae9ffe5f209fb26616c;hp=2b03eff8adba575533a227866d7df6f76eabfe5d;hb=8b40eca59ec98f19544e68342db7ee24d5983aa6;hpb=33a1b286084cf0745aced5f17c86e39b41859c40 diff --git a/html/cgi-bin/upnp.cgi b/html/cgi-bin/upnp.cgi index 2b03eff8a..07dfa2677 100644 --- a/html/cgi-bin/upnp.cgi +++ b/html/cgi-bin/upnp.cgi @@ -133,7 +133,7 @@ print < END ; -if ( $message ne "" ) {print "$message";} +if ( $message ne "" ) {print "$message";} my $lines = 0; my $key = ''; @@ -164,7 +164,7 @@ print <Upstream in KB:
- + END ; @@ -199,9 +199,9 @@ print ""; ############################################################################################################################ sub isrunning - { +{ my $cmd = $_[0]; - my $status = "$Lang::tr{'stopped'}"; + my $status = "$Lang::tr{'stopped'}"; my $pid = ''; my $testcmd = ''; my $exename; @@ -219,9 +219,10 @@ sub isrunning {if (/^Name:\W+(.*)/) {$testcmd = $1; }} close FILE; if ($testcmd =~ /$exename/) - {$status = "$Lang::tr{'running'}";} + {$status = "$Lang::tr{'running'}";} } } return $status; - } +} +