Skip to content

Commit a5d0011

Browse files
authored
Merge pull request hestiacp#1590 from ioannidesalex/patch-34
Replace /tmp with $BACKUP
2 parents 70d5e25 + b06ddec commit a5d0011

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 /tmp -d)
72+
tmpdir=$(mktemp -p $BACKUP -d)
7373

7474
if [ "$?" -ne 0 ]; then
7575
echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify

0 commit comments

Comments
 (0)