diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2013-12-18 21:43:48 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2014-01-15 08:29:53 -0800 |
commit | 34969e746608c8170ab540c876836f625f25d8eb (patch) | |
tree | 9ddd0f6dedab204656fad35e89b6a030f2a8f26d /usr/src/cmd/logadm/main.c | |
parent | c64d0c7c2b822e28df7036ee627f438587d05037 (diff) | |
download | illumos-joyent-34969e746608c8170ab540c876836f625f25d8eb.tar.gz |
4428 logadm ignoring -p flag
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/logadm/main.c')
-rw-r--r-- | usr/src/cmd/logadm/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/logadm/main.c b/usr/src/cmd/logadm/main.c index b03782c3c3..219d644de2 100644 --- a/usr/src/cmd/logadm/main.c +++ b/usr/src/cmd/logadm/main.c @@ -648,7 +648,7 @@ rotatelog(struct fn *fnp, struct opts *opts) * last rotation is recorded as argument to -P, * but if logname isn't the same as log file name * then the timestamp would be recorded on a - * separate line in the conf file. so if we + * separate line in the timestamp file. so if we * haven't seen a -P already, we check to see if * it is part of a specific entry for the log * file name. this handles the case where the @@ -657,7 +657,7 @@ rotatelog(struct fn *fnp, struct opts *opts) * which expands to multiple file names. if one * of the file names is "/var/apache/logs/access_log" * the the -P will be attached to a line with that - * logname in the conf file. + * logname in the timestamp file. */ if (opts_count(opts, "P")) { off_t last = opts_optarg_int(opts, "P"); |