mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-01 02:35:05 +00:00
shutdown: drop redundant sync() invocation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user