projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f782b8d
)
shutdown: remove close_nointr_nofail after make_stdio call
author
Harald Hoyer
<harald@redhat.com>
Tue, 19 Jul 2011 10:16:30 +0000
(12:16 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Jul 2011 02:31:21 +0000
(
04:31
+0200)
make_stdio itsselves closes the fd already
src/shutdown.c
patch
|
blob
|
history
diff --git
a/src/shutdown.c
b/src/shutdown.c
index
c16871d
..
0905ef5
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;