fix expansion

This commit is contained in:
2023-12-13 16:53:15 +01:00
parent 2c643c73c6
commit a75604c097

View File

@@ -82,7 +82,7 @@ while read -r line; do
logecho "${RHOST}: Starting backups"
logecho "${RHOST}: Deleting host's temporary directories in ${TEMPDIR}"
rm -rf "${TEMPDIR:?}/${RHOST:?}/*"
rm -rf "${TEMPDIR:?}/${RHOST:?}/"*
NORDIR=$(echo "$ALLRDIR" | grep -o "|" | wc -l || true)
NORDIR=$(($NORDIR + 1))