chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29597a
)
shutdown: drop redundant sync() invocation
author
Lennart Poettering
<lennart@poettering.net>
Sat, 1 Jan 2011 18:54:12 +0000
(19:54 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 1 Jan 2011 18:54:12 +0000
(19:54 +0100)
src/shutdown.c
patch
|
blob
|
history
diff --git
a/src/shutdown.c
b/src/shutdown.c
index
11c7544
..
10d8413
100644
(file)
--- a/
src/shutdown.c
+++ b/
src/shutdown.c
@@
-362,7
+362,6
@@
int main(int argc, char *argv[]) {
r = -errno;
error:
- sync();
log_error("Critical error while doing system shutdown: %s", strerror(-r));
freeze();