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 a new issue