about summary refs log tree commit diff
path: root/halt.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-03-18 14:10:30 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-03-18 14:10:52 +0100
commitb1f4b33cabcfd05d89a17a077311dc51eccb5436 (patch)
treedc05412d11b39a525bba16fa44e212fc90703de8 /halt.c
parent4cd69dc57f99d0741543cfd2f69631187dce3b22 (diff)
downloadrunit-void-b1f4b33cabcfd05d89a17a077311dc51eccb5436.tar.gz
runit-void-b1f4b33cabcfd05d89a17a077311dc51eccb5436.tar.xz
runit-void-b1f4b33cabcfd05d89a17a077311dc51eccb5436.zip
halt: don't sync() on -w.
Diffstat (limited to 'halt.c')
-rw-r--r--halt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/halt.c b/halt.c
index 0405ced..8eaba64 100644
--- a/halt.c
+++ b/halt.c
@@ -30,6 +30,7 @@ int main(int argc, char *argv[]) {
       break;
     case 'w':
       action = NOOP;
+      do_sync = 0;
       break;
     case 'd':
     case 'h':