typo fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-03-05 02:23:58 +03:00
parent 12a024dac2
commit 3a332225a0

View File

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