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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238281

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);