~hnaguski/dashcam_buildroot

34a04fe769909952610c0c6fd1461870da504259 — Henry Naguski 9 months ago d30a3a5
Print out the fact that expand runs sync
1 files changed, 6 insertions(+), 1 deletions(-)

M expand
M expand => expand +6 -1
@@ 9,7 9,12 @@ TMPFILE="/tmp/expand.$$"

cleanup() {
	rm -f "$TMPFILE"
	sync
	printf 'Syncing disks'
	if sync; then
		printf '\n'
	else
		printf ': FAIL\n'
	fi
	exit "$1"
}