From 98773160d0e923516bc8e74d43ffc744f82d3e4d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 3 Oct 2016 17:43:22 -0700 Subject: [PATCH] sync before reboot --- src/scripts/reboot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/reboot.sh b/src/scripts/reboot.sh index 0a236ee1a..e69108864 100755 --- a/src/scripts/reboot.sh +++ b/src/scripts/reboot.sh @@ -13,6 +13,7 @@ if [[ $# == 1 && "$1" == "--check" ]]; then fi if [[ "${BOX_ENV}" == "cloudron" ]]; then + sync shutdown -r now fi