diff options
author | Jan Psota <jasiu@belsznica.pl> | 2009-11-10 20:09:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-11-10 20:09:44 +0000 |
commit | ebb49805fca3d53b02c3eaa992e4bed49eca365c (patch) | |
tree | f15e29ef2e9f899db28a96599a37e7d1cda1581f /init.d | |
parent | 4a892a23ba440a90d8a55f6d19d686917fd3e76e (diff) |
Don't punt /var/log/wtmp if it exists, just create if it does not.
Fixes Gentoo #289849.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/bootmisc.in | 2 |
1 files changed, 1 insertions, 1 deletions
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" |