chiark / gitweb /
shutdown: remove explicit sync() invocations
[elogind.git] / src / core / shutdown.c
index c3a4c390be2e20bf4f89ec291439cd212ed5bdac..558111b3d48ebbf0be1e42cc56ea2b3e199f0ddd 100644 (file)
@@ -279,8 +279,6 @@ int main(int argc, char *argv[]) {
                 }
         }
 
-        sync();
-
         if (cmd == LINUX_REBOOT_CMD_KEXEC) {
                 /* We cheat and exec kexec to avoid doing all its work */
                 pid_t pid = fork();