]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: restore the no-sync option for legacy halt (#3249)
authortblume <Thomas.Blume@suse.com>
Thu, 19 May 2016 14:35:27 +0000 (16:35 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 May 2016 14:35:27 +0000 (10:35 -0400)
commitf3f054f03e6de7865132e9602da178dfc82102ab
treeb81e3b8e5922f97899d34b2d5dca694355b97ba4
parentcfd75d5e79fcedab0239ec97a6762fe08c5cda2b
systemctl: restore the no-sync option for legacy halt (#3249)

The sync() call on shutdown had been removed with commit 57371e5829a61e5ee6c9f98404dfc729d6c62608
together with the no-sync option for the shutdown commands.
The sync call was restored in commit 4a3ad39957399c4a30fc472a804e72907ecaa4f9 but the no-sync option
wasn't re-added.
I think we should restore this option at least for the legacy halt command.
man/halt.xml
src/systemctl/systemctl.c