From 3b8a1f3fee7bf83af5bbae541166508cf172b67c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 19 Jul 2011 12:16:30 +0200 Subject: [PATCH] shutdown: remove close_nointr_nofail after make_stdio call make_stdio itsselves closes the fd already --- src/shutdown.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shutdown.c b/src/shutdown.c index c16871dd..0905ef5b 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; -- 2.39.5