From cd618961767966846e8adc5bdba31451792c8f39 Mon Sep 17 00:00:00 2001 From: Alexandros Ioannides Date: Fri, 1 Jun 2018 13:57:37 +0300 Subject: [PATCH] Switch from /tmp to /backup --- bin/v-restore-user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-restore-user b/bin/v-restore-user index 79e1e28c..9fd31eba 100755 --- a/bin/v-restore-user +++ b/bin/v-restore-user @@ -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