summaryrefslogtreecommitdiff
path: root/tbdiff-switch/tbdiff-switch
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 /tbdiff-switch/tbdiff-switch
parent45de7fa4b141d308f47b260e8f34c092b8ea8b7a (diff)
downloadtbdiff-92d128b405a16a14aba2348117c263672f93c706.tar.gz
Use busybox sync instead of sync alone.
Diffstat (limited to 'tbdiff-switch/tbdiff-switch')
-rwxr-xr-xtbdiff-switch/tbdiff-switch2
1 files changed, 1 insertions, 1 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