Verify if log process numbers are sensible
This commit is contained in:
parent
5498a74d87
commit
6d98f7205a
1 changed files with 3 additions and 1 deletions
|
@ -141,7 +141,9 @@ int c; /* character to append */
|
|||
} else {
|
||||
int p, outprocs[] = OUTPUT_PROCS_ARRAY;
|
||||
for(p = 0; outprocs[p] != NONE; p++) {
|
||||
send_sig(outprocs[p], SIGKMESS);
|
||||
if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) {
|
||||
send_sig(outprocs[p], SIGKMESS);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue