fix expansion
This commit is contained in:
@@ -82,7 +82,7 @@ while read -r line; do
|
|||||||
logecho "${RHOST}: Starting backups"
|
logecho "${RHOST}: Starting backups"
|
||||||
|
|
||||||
logecho "${RHOST}: Deleting host's temporary directories in ${TEMPDIR}"
|
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=$(echo "$ALLRDIR" | grep -o "|" | wc -l || true)
|
||||||
NORDIR=$(($NORDIR + 1))
|
NORDIR=$(($NORDIR + 1))
|
||||||
|
|||||||
Reference in New Issue
Block a user