diff --git a/html/cgi-bin/guardian.cgi b/html/cgi-bin/guardian.cgi index 45bc510d2..ea02e76df 100644 --- a/html/cgi-bin/guardian.cgi +++ b/html/cgi-bin/guardian.cgi @@ -84,7 +84,7 @@ my $errormessage = ''; # Check if guardian is running and grab some stats. &daemonstats(); -my $pid = @pid[0]; +my $pid = $pid[0]; ## Perform input checks and save settings. # @@ -312,7 +312,7 @@ sub showMainBox() { # 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) ){ @@ -332,7 +332,7 @@ sub showMainBox() { - @pid[0] + $pid $memory KB