Don't punt /var/log/wtmp if it exists, just create if it does not.
Fixes Gentoo #289849.
This commit is contained in:
parent
4a892a23ba
commit
ebb49805fc
@ -95,7 +95,7 @@ start()
|
||||
for x in "" $xtra; do
|
||||
mkutmp /var/run/utmp$x
|
||||
done
|
||||
[ -e /var/log/wtmp ] && mkutmp /var/log/wtmp
|
||||
[ -e /var/log/wtmp ] || mkutmp /var/log/wtmp
|
||||
eend 0
|
||||
|
||||
ebegin "Cleaning /var/run"
|
||||
|
Loading…
Reference in New Issue
Block a user