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";
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to