shutdown: remove close_nointr_nofail after make_stdio call

make_stdio itsselves closes the fd already
This commit is contained in:
Harald Hoyer
2011-07-22 04:31:21 +02:00
committed by Lennart Poettering
parent f782b8d031
commit 3b8a1f3fee
-1
View File
@@ -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;