improve output
This commit is contained in:
parent
4a1e916bd3
commit
845e908c65
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue