util: always reopen the log file 25/11725/16
authorMichael Meffie <mmeffie@sinenomine.net>
Wed, 4 Feb 2015 17:19:32 +0000 (12:19 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 25 Apr 2016 04:08:36 +0000 (00:08 -0400)
commitd92ef173bc6ab7dd85bd2cbadbb2a089a9d4bacf
tree2ef7f91806d1502e905373ba372d4cffbe45842a
parent02b228bc4c778645efbbc3d3bb12586a0424c1cd
util: always reopen the log file

Reopen the log file even if the filename exists. This fixes the
situation where an external program moves or deletes the log
file, then creates a new file with the same log file name.

Change-Id: I3b98d6fc0d05c7ab231f84e9a271f925506ab51f
Reviewed-on: https://gerrit.openafs.org/11725
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/util/serverLog.c