improve output

This commit is contained in:
Jakobus Schürz 2020-01-22 13:20:21 +01:00
parent 4a1e916bd3
commit 845e908c65

View file

@ -103,8 +103,8 @@ if [ $(id -u) -ne 0 ]; then
# First cleanup all empty Archivdirectories for workdir
for i in $(find ${ARCHIVPATH} -type d); do
if [ ! "$(ls -A $i)" ]; then
echo "DIR $i is empty -> remove it"
rm -vr "$i"
echo "DIR $i is empty -> remove it" >&2
rm -vr "$i" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2
fi
done