fix tmp dir for restore user

This commit is contained in:
Serge Kraev 2017-03-17 19:03:38 +04:00 committed by GitHub
commit dc3807ceee

View file

@ -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