if (WIFSIGNALED(stat)) {
sprintf(buf, "exited on signal %d%s\n",
WTERMSIG(stat),
- (WCOREDUMP(stat)?"; Core dumped":0));
+ (WCOREDUMP(stat)?"; Core dumped":""));
}
write(rdpipe[1], buf, strlen(buf));
close(rdpipe[1]);
if (WIFSIGNALED(stat)) {
sprintf(buf, "exited on signal %d%s\n",
WTERMSIG(stat),
- (WCOREDUMP(stat)?"; Core dumped":0));
+ (WCOREDUMP(stat)?"; Core dumped":""));
}
write(rdpipe[1], buf, strlen(buf));
close(rdpipe[1]);
if (WIFSIGNALED(stat)) {
sprintf(buf, "exited on signal %d%s\n",
WTERMSIG(stat),
- (WCOREDUMP(stat)?"; Core dumped":0));
+ (WCOREDUMP(stat)?"; Core dumped":""));
if(WCOREDUMP(stat))
critical_alert("startmoira", "%s", buf);
}