diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-01 19:54:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-01 19:54:12 +0100 |
commit | abd41c86b51fc70ccfbe3b2bfe267ab6f2b4fcfe (patch) | |
tree | ad1b54f57910556428b67658982ece4347e65ac0 /src/shutdown.c | |
parent | c29597a104b4a9dca601473aa2a8afe8b2b2face (diff) |
shutdown: drop redundant sync() invocation
Diffstat (limited to 'src/shutdown.c')
-rw-r--r-- | src/shutdown.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shutdown.c b/src/shutdown.c index 11c7544fc7..10d8413092 100644 --- 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(); |