From 3a332225a049b4d38363c8f2a1665e79b59e4275 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 5 Mar 2024 02:23:58 +0300 Subject: [PATCH] typo fix... Signed-off-by: Alex A. Naanou --- Viewer/archive/media/img/my/work/sync-flash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Viewer/archive/media/img/my/work/sync-flash.sh b/Viewer/archive/media/img/my/work/sync-flash.sh index aa773971..70430084 100755 --- a/Viewer/archive/media/img/my/work/sync-flash.sh +++ b/Viewer/archive/media/img/my/work/sync-flash.sh @@ -240,7 +240,7 @@ while true ; do $COPY $COPYFLAGS ${BASE}/${DRIVE}/* "$DIR" \ 2> >(tee "${DIR}"/copy-err.log) # no errors -> remove log... - if ! [ -s "${DIR}/copy-err.log"] ; then + if ! [ -s "${DIR}/copy-err.log" ] ; then rm -f "${DIR}"/copy-err.log fi echo "Copying files: done."