From ebb49805fca3d53b02c3eaa992e4bed49eca365c Mon Sep 17 00:00:00 2001 From: Jan Psota Date: Tue, 10 Nov 2009 20:09:03 +0000 Subject: Don't punt /var/log/wtmp if it exists, just create if it does not. Fixes Gentoo #289849. --- init.d/bootmisc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 1ec57481..5e245310 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -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" -- cgit v1.2.3