mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Merge pull request #1590 from ioannidesalex/patch-34
Replace /tmp with $BACKUP
This commit is contained in:
commit
a5d0011ef7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue