summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-26 10:24:43 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-26 10:24:43 +0000
commit92d128b405a16a14aba2348117c263672f93c706 (patch)
treed1d1021590cf129fea90b786cd81672167a1b3e0
parent45de7fa4b141d308f47b260e8f34c092b8ea8b7a (diff)
downloadtbdiff-92d128b405a16a14aba2348117c263672f93c706.tar.gz
Use busybox sync instead of sync alone.
-rwxr-xr-xtbdiff-switch/tbdiff-switch2
-rwxr-xr-xtbdiff-update/tbdiff-update2
2 files changed, 2 insertions, 2 deletions
diff --git a/tbdiff-switch/tbdiff-switch b/tbdiff-switch/tbdiff-switch
index 306ef86..12a00b3 100755
--- a/tbdiff-switch/tbdiff-switch
+++ b/tbdiff-switch/tbdiff-switch
@@ -71,7 +71,7 @@ busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf"
cd /
# perform a sync to make sure everything has been written
-sync
+busybox sync
# reboot the system
busybox reboot
diff --git a/tbdiff-update/tbdiff-update b/tbdiff-update/tbdiff-update
index 0cd7471..21373d8 100755
--- a/tbdiff-update/tbdiff-update
+++ b/tbdiff-update/tbdiff-update
@@ -111,7 +111,7 @@ busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf"
cd /
# perform a sync to make sure everything has been written
-sync
+busybox sync
# reboot the system
busybox reboot