--- loncom/lonhttpd 2003/07/30 15:28:56 1.9 +++ loncom/lonhttpd 2005/02/14 00:18:03 1.10 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: lonhttpd,v 1.9 2003/07/30 15:28:56 www Exp $ +# $Id: lonhttpd,v 1.10 2005/02/14 00:18:03 albertel Exp $ $VERSION = "1.3.2 (Demonic/Linux/LON-CAPA Derivative $Revison$)"; @@ -61,7 +61,7 @@ $pidfile="/home/httpd/perl/logs/lonhttpd if (-e $pidfile) { open(LFH,"$pidfile"); - my $pide=<$LFH>; + my $pide=; chomp($pide); close(LFH); if (kill 0 => $pide) { die "already running"; }