Changeset 1670 for zzuf


Ignore:
Timestamp:
Jan 14, 2007, 9:28:09 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Exit non-zero if one process crashed.
Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzuf.1

    r1669 r1670  
    221221\fB\-V\fR, \fB\-\-version\fR
    222222Output version information and exit.
     223.SH DIAGNOSTICS
     224.PP
     225Exit status is zero if no child process crashed. If one or several children
     226crashed, \fBzzuf\fR exits with status 1.
    223227.SH EXAMPLES
    224228.PP
  • zzuf/trunk/src/zzuf.c

    r1669 r1670  
    336336    free(child_list);
    337337
    338     return EXIT_SUCCESS;   
     338    return crashes ? EXIT_FAILURE : EXIT_SUCCESS;   
    339339}
    340340
Note: See TracChangeset for help on using the changeset viewer.