chiark / gitweb /
main: only reopen /dev/console if we switch-root to a custom init
authorHarald Hoyer <harald@redhat.com>
Fri, 13 Jul 2012 12:44:52 +0000 (14:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Jul 2012 12:46:14 +0000 (14:46 +0200)
commita504223d9a448ab338e369997c39c04067c8f906
treea840ab88cf7761e54c2e41ca54c339e25420f307
parent910212e738e5ecdc0ceebfcc5009d688415eaefc
main: only reopen /dev/console if we switch-root to a custom init

There's no point in reopening /dev/console if we reopen it anyway
afterwards.
src/core/main.c