mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
When warning that a log file can't be compressed, tell the reader which
log file it was.
This commit is contained in:
parent
ff4055bf24
commit
6b9a6e1f20
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64663
@ -623,7 +623,7 @@ dotrim(char *log, char *pid_file, int numdays, int flags, int perm,
|
||||
}
|
||||
if ((flags & CE_COMPACT)) {
|
||||
if (need_notification && !notified)
|
||||
warnx("log not compressed because daemon not notified");
|
||||
warnx("log %s not compressed because daemon not notified", log);
|
||||
else if (noaction)
|
||||
printf("Compress %s.0\n", log);
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user