Skip to content

Commit 95fb2f3

Browse files
Update rclean.sh
1 parent dcf2e12 commit 95fb2f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/cron/rclean.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ do
6060
CODE=$[${CODE}+${?}]
6161
done
6262

63-
sudo rm -r ${RCLONEMOUNT} > /dev/null 2>&1
64-
sudo rm -r ${MOUNTTO} > /dev/null 2>&1
63+
sudo rmdir ${RCLONEMOUNT} > /dev/null 2>&1
64+
sudo rmdir ${MOUNTTO} > /dev/null 2>&1
6565
# rm ${LOGS}/*.? > /dev/null
6666
echo -n > ${LOGS}/rclone.log
6767

0 commit comments

Comments
 (0)