This will prevent from a lot of perl suggestions in the
apache error log.
Reference #10748.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
# Check if guardian is running and grab some stats.
&daemonstats();
-my $pid = @pid[0];
+my $pid = $pid[0];
## Perform input checks and save settings.
#
# Get current status of guardian.
&daemonstats();
- $pid = @pid[0];
+ $pid = $pid[0];
# Display some useful information related to guardian, if daemon is running.
if ( ($memory != 0) && ($pid > 0) ){
</tr>
<tr>
<td class='base'></td>
- <td bgcolor='$color{'color22'}' align='center'>@pid[0]</td>
+ <td bgcolor='$color{'color22'}' align='center'>$pid</td>
<td bgcolor='$color{'color22'}' align='center'>$memory KB</td>
</tr>
</table>