summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mirrorsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorsync b/mirrorsync
index 2ceb9d1..4661877 100644
--- a/mirrorsync
+++ b/mirrorsync
@@ -139,7 +139,7 @@ if [[ -n "$checkresult2" ]]; then
logger -t rsync "Succeed updating ${mirrormodule}"
else
logger -t rsync "Failed updating ${mirrormodule} see ${logfile}"
- rm -f ${dst1}/${datefile}
+ rm -f ${dst2}/${datefile}
fi
fi