From: Harald Hoyer Date: Tue, 19 Jul 2011 10:16:30 +0000 (+0200) Subject: shutdown: remove close_nointr_nofail after make_stdio call X-Git-Tag: v31~31 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b8a1f3fee7bf83af5bbae541166508cf172b67c;p=systemd shutdown: remove close_nointr_nofail after make_stdio call make_stdio itsselves closes the fd already --- 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;