chiark / gitweb /
shutdown: remove explicit sync() invocations
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Sep 2012 22:32:57 +0000 (15:32 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Sep 2012 22:32:57 +0000 (15:32 -0700)
commit57371e5829a61e5ee6c9f98404dfc729d6c62608
tree5ad0f67db34b8571d575664b3e1072a5910ff065
parent3eabccc46c003d129a847ba423a6d0ba778e4930
shutdown: remove explicit sync() invocations

The kernel implicitly does sync() anyway, hence there is no need to do
that in userspace explicitly. This makes the "-n" switch to halt(8) a
noop.
man/halt.xml
src/core/shutdown.c
src/systemctl/systemctl.c