cvs: CVSROOT / loginfo.pl

From: Date: Sat, 16 Oct 2004 22:30:42 +0000
Subject: cvs: CVSROOT / loginfo.pl
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28971@lists.php.net to get a copy of this message
sas Sat Oct 16 18:30:42 2004 EDT Modified files: /CVSROOT loginfo.pl Log: is exit 0 borked? http://cvs.php.net/diff.php/CVSROOT/loginfo.pl?r1=1.76&r2=1.77&ty=u Index: CVSROOT/loginfo.pl diff -u CVSROOT/loginfo.pl:1.76 CVSROOT/loginfo.pl:1.77 --- CVSROOT/loginfo.pl:1.76 Sat Oct 16 18:21:43 2004 +++ CVSROOT/loginfo.pl Sat Oct 16 18:30:42 2004 @@ -67,12 +67,6 @@ open FC, "$last_file.$id" or die "last file does not exist"; my $last_directory = <FC>; - -if ($last_directory eq undef) { - print "LAST DIRECTORY IS EMPTY\n"; - &bail; -} - chop $last_directory; close FC; # remove the cvsroot from the front @@ -100,7 +94,10 @@ print "$$ before fork\n"; # now we fork off into the background and generate the email -exit 0 if(fork() != 0); +if(fork() != 0) { + print "$$ exiting\n"; + exit(0); +} print "$$ after fork\n";

« previous php.cvs (#28971) next »