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 <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-08-14 13:29:58 +02:00
parent 95cb94cf49
commit b1fb536468
-2
View File
@@ -138,8 +138,6 @@ int main(int argc, char *argv[])
translate();
if (force) {
sync();
switch (cmd) {
case CMD_REBOOT:
c = reboot(RB_AUTOBOOT);