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."