Skip to content

Commit 2a409e0

Browse files
authored
fix tmp dir for backup user
1 parent dc3807c commit 2a409e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
6969
done
7070

7171
# Creating temporary directory
72-
tmpdir=$(mktemp -p $BACKUP -d)
72+
tmpdir=$(mktemp -p /tmp -d)
7373
if [ "$?" -ne 0 ]; then
7474
echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify
7575
check_result $E_NOTEXIST "can't create tmp dir"

0 commit comments

Comments
 (0)