]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r244995 r244996 r244997.
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 13 Jan 2013 04:14:46 +0000 (04:14 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 13 Jan 2013 04:14:46 +0000 (04:14 +0000)
commita353ffba1f7c1cf98640ec533d6fccc5dae1d433
treeb859a0c996f3968ad2c5013b656ad3c0f3bbc833
parent57c27651be314e24aa243e88cf9dd42847972834
MFC r244995 r244996 r244997.

MFC r244995:
  Fix a typo in an error message.

MFC r244996:
  Have -n imply -r, since dry-run mode obviously doesn't require root
  privileges.

MFC r244997:
  Make sure to update the mtime of a logfile after archiving it. This
  ensures that the next rotation happens at the correct time when using
  interval-based rotations.

Approved by: rstone (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/9@245360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/newsyslog/newsyslog.8
usr.sbin/newsyslog/newsyslog.c