We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11eca5d commit 73a0b3fCopy full SHA for 73a0b3f
1 file changed
bin/v-restore-user
@@ -229,8 +229,12 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
229
(( ++i))
230
done
231
232
+if [ -z "$BACKUP_TEMP" ]; then
233
+ BACKUP_TEMP=$BACKUP
234
+fi
235
+
236
# Creating temporary directory
-tmpdir=$(mktemp -p $BACKUP -d)
237
+tmpdir=$(mktemp -p $BACKUP_TEMP -d)
238
if [ "$?" -ne 0 ]; then
239
echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify
240
sed -i "/ $user /d" $VESTA/data/queue/backup.pipe
0 commit comments