mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
shutdown: drop redundant sync() invocation
This commit is contained in:
parent
c29597a104
commit
abd41c86b5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user