Don't punt /var/log/wtmp if it exists, just create if it does not.

Fixes Gentoo #289849.
This commit is contained in:
Jan Psota 2009-11-10 20:09:03 +00:00 committed by Roy Marples
parent 4a892a23ba
commit ebb49805fc

View File

@ -95,7 +95,7 @@ start()
for x in "" $xtra; do for x in "" $xtra; do
mkutmp /var/run/utmp$x mkutmp /var/run/utmp$x
done done
[ -e /var/log/wtmp ] && mkutmp /var/log/wtmp [ -e /var/log/wtmp ] || mkutmp /var/log/wtmp
eend 0 eend 0
ebegin "Cleaning /var/run" ebegin "Cleaning /var/run"