mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-22 15:03:34 +07: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