Skip to content

Commit dc3807c

Browse files
authored
fix tmp dir for restore user
1 parent a218240 commit dc3807c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restore-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
217217
done
218218

219219
# Creating temporary directory
220-
tmpdir=$(mktemp -p $BACKUP -d)
220+
tmpdir=$(mktemp -p /tmp -d)
221221
if [ "$?" -ne 0 ]; then
222222
echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify
223223
sed -i "/ $user /d" $VESTA/data/queue/backup.pipe

0 commit comments

Comments
 (0)