diff --git a/bin/v-backup-user b/bin/v-backup-user index cc28a1c8..b6ec66ec 100755 --- a/bin/v-backup-user +++ b/bin/v-backup-user @@ -69,7 +69,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do done # Creating temporary directory -tmpdir=$(mktemp -p /tmp -d) +tmpdir=$(mktemp -p $BACKUP -d) if [ "$?" -ne 0 ]; then echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify