aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dsync.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/handlers/dsync.in b/handlers/dsync.in
index 6752dad..d63b3be 100644
--- a/handlers/dsync.in
+++ b/handlers/dsync.in
@@ -169,6 +169,7 @@ function do_rotate() {
echo "Debug: skipping rotate of $user. $backuproot doesn't exist."
exit
fi
+
for rottype in daily weekly monthly; do
seconds=\$((seconds_\${rottype}))
@@ -333,7 +334,7 @@ if [ "$backup" == "yes" ]; then
do_user $testuser $btype
else
[ -d "$stripped_srcdir" ] || fatal "directory $stripped_srcdir not found."
- for user in `$DOVEADM user \* | cut -d@ -f1`
+ for user in `@DOVEADM@ user \* | cut -d@ -f1`
do
debug $user
[ "$user" != "" ] || continue