We don't need to check the result of sending signal when -R option is

specified.

Submitted by:	Ilya A. Arkhipov
MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2012-07-09 07:37:10 +00:00
parent 0a6b6951b2
commit 131f6ef034

View File

@ -1972,7 +1972,8 @@ do_zipwork(struct zipwork_entry *zwork)
else
pgm_name++;
if (zwork->zw_swork != NULL && zwork->zw_swork->sw_pidok <= 0) {
if (zwork->zw_swork != NULL && zwork->zw_swork->run_cmd == 0 &&
zwork->zw_swork->sw_pidok <= 0) {
warnx(
"log %s not compressed because daemon(s) not notified",
zwork->zw_fname);