From abd41c86b51fc70ccfbe3b2bfe267ab6f2b4fcfe Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 1 Jan 2011 19:54:12 +0100 Subject: [PATCH] shutdown: drop redundant sync() invocation --- src/shutdown.c | 1 - 1 file changed, 1 deletion(-) 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();