chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shutdown: remove close_nointr_nofail after make_stdio call
[elogind.git]
/
src
/
shutdown.c
diff --git
a/src/shutdown.c
b/src/shutdown.c
index c16871dde429268c2aa87f672af926130fe2c1ca..0905ef5b3a96ab5523d9aa5a26db1814e1f64085 100644
(file)
--- 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;