sync before reboot

This commit is contained in:
Girish Ramakrishnan
2016-10-03 17:43:22 -07:00
parent 6f0708eff2
commit 98773160d0

View File

@@ -13,6 +13,7 @@ if [[ $# == 1 && "$1" == "--check" ]]; then
fi
if [[ "${BOX_ENV}" == "cloudron" ]]; then
sync
shutdown -r now
fi