Changeset 4277


Ignore:
Timestamp:
Jan 18, 2010, 3:02:00 AM (8 years ago)
Author:
Sam Hocevar
Message:

In verbose mode, tell when a process exits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/zzuf.c

    r4265 r4277  
    796796        }
    797797#endif
     798        else if (opts->verbose)
     799        {
     800            finfo(stderr, opts, opts->child[i].seed);
     801            if (WIFSIGNALED(status))
     802                fprintf(stderr, "signal %i%s\n",
     803                        WTERMSIG(status), sig2name(WTERMSIG(status)));
     804            else
     805                fprintf(stderr, "exit %i\n", WEXITSTATUS(status));
     806        }
    798807
    799808        for(j = 0; j < 3; j++)
Note: See TracChangeset for help on using the changeset viewer.