mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Switch from /tmp to /backup
This commit is contained in:
parent
308da454eb
commit
cd61896176
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,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
|
||||
sed -i "/ $user /d" $VESTA/data/queue/backup.pipe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue