mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
fix tmp dir for restore user
This commit is contained in:
parent
a21824009f
commit
dc3807ceee
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
|
|||
done
|
||||
|
||||
# Creating temporary directory
|
||||
tmpdir=$(mktemp -p $BACKUP -d)
|
||||
tmpdir=$(mktemp -p /tmp -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