X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Fupnp.cgi;h=07dfa2677c970e49a9be6ae9ffe5f209fb26616c;hb=b062a11bbe730454c48c2c45ff0b1e0eec454471;hp=2b03eff8adba575533a227866d7df6f76eabfe5d;hpb=5d4d41b18c80f236b4dc796e1394ef0035cb034d;p=people%2Fteissler%2Fipfire-2.x.git 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; - } +} +