(file) Return to Exit.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/Exit.c between version 1.2 and 1.3

version 1.2, 2007/05/25 18:35:07 version 1.3, 2007/06/15 17:40:06
Line 32 
Line 32 
 */ */
 #include <stdlib.h> #include <stdlib.h>
 #include <signal.h> #include <signal.h>
   #include <unistd.h>
 #include "Exit.h" #include "Exit.h"
 #include "Log.h" #include "Log.h"
 #include "Globals.h" #include "Globals.h"
Line 58 
Line 59 
     if (globals.childPid > 0)     if (globals.childPid > 0)
         kill(globals.childPid, SIGTERM);         kill(globals.childPid, SIGTERM);
  
       if (globals.isChildProcess)
       {
           _exit(status);
       }
       else
       {
     exit(status);     exit(status);
 } }
   }


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2