Don't punt /var/log/wtmp if it exists, just create if it does not.
Fixes Gentoo #289849.
This commit is contained in:
1 parent
4a892a23ba
commit
ebb49805fc
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user