chiark / gitweb /
shutdown: drop redundant sync() invocation
authorLennart Poettering <lennart@poettering.net>
Sat, 1 Jan 2011 18:54:12 +0000 (19:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Jan 2011 18:54:12 +0000 (19:54 +0100)
src/shutdown.c

index 11c7544..10d8413 100644 (file)
@@ -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();