[BACK]Return to time.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / time

Diff for /src/usr.bin/time/time.c between version 1.5 and 1.6

version 1.5, 1998/09/02 06:39:16 version 1.6, 2000/04/29 16:46:36
Line 171 
Line 171 
         }          }
   
         if (exitonsig) {          if (exitonsig) {
                 if (signal(exitonsig, SIG_DFL) < 0)                  if (signal(exitonsig, SIG_DFL) == SIG_ERR)
                         perror("signal");                          perror("signal");
                 else                  else
                 kill(getpid(), exitonsig);                          kill(getpid(), exitonsig);
         }          }
         exit(WIFEXITED(status) ? WEXITSTATUS(status) : EXIT_FAILURE);          exit(WIFEXITED(status) ? WEXITSTATUS(status) : EXIT_FAILURE);
 }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6