summaryrefslogtreecommitdiff
path: root/tbdiff-update/tbdiff-update
diff options
context:
space:
mode:
Diffstat (limited to 'tbdiff-update/tbdiff-update')
-rwxr-xr-xtbdiff-update/tbdiff-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/tbdiff-update/tbdiff-update b/tbdiff-update/tbdiff-update
index e6caeec..0cd7471 100755
--- a/tbdiff-update/tbdiff-update
+++ b/tbdiff-update/tbdiff-update
@@ -110,5 +110,8 @@ busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf"
# leave the root file system
cd /
+# perform a sync to make sure everything has been written
+sync
+
# reboot the system
busybox reboot