diff options
author | Harald Hoyer <harald@redhat.com> | 2011-07-19 12:16:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-22 04:31:21 +0200 |
commit | 3b8a1f3fee7bf83af5bbae541166508cf172b67c (patch) | |
tree | 9207fbce036b153afe3a7e9e655db3caaf5a1a66 /src | |
parent | f782b8d031fcf6ec6b6ea4a1e0c956e44a7c7298 (diff) |
shutdown: remove close_nointr_nofail after make_stdio call
make_stdio itsselves closes the fd already
Diffstat (limited to 'src')
-rw-r--r-- | src/shutdown.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shutdown.c b/src/shutdown.c index c16871dde4..0905ef5b3a 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -276,7 +276,6 @@ static int pivot_to_new_root(void) { log_error("Failed to open /dev/console: %m"); else { make_stdio(fd); - close_nointr_nofail(fd); } return 0; |