From b1fb5364682ccd43d006449034d236a5d3f1a45d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 14 Aug 2016 13:29:35 +0200 Subject: [PATCH] reboot: Remove sync() is up to user to do that Also, this code will be refactored soon to be a part of the finit binary, like telinit, and then we will be called after unmount to do a forced halt/reboot/poweroff. Signed-off-by: Joachim Nilsson --- reboot.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/reboot.c b/reboot.c index b75ea604..3656c86a 100644 --- a/reboot.c +++ b/reboot.c @@ -138,8 +138,6 @@ int main(int argc, char *argv[]) translate(); if (force) { - sync(); - switch (cmd) { case CMD_REBOOT: c = reboot(RB_AUTOBOOT);