We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f7598 commit 11eca5dCopy full SHA for 11eca5d
1 file changed
bin/v-backup-user
@@ -68,8 +68,12 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
68
(( ++i))
69
done
70
71
+if [ -z "$BACKUP_TEMP" ]; then
72
+ BACKUP_TEMP=$BACKUP
73
+fi
74
+
75
# Creating temporary directory
-tmpdir=$(mktemp -p $BACKUP -d)
76
+tmpdir=$(mktemp -p $BACKUP_TEMP -d)
77
78
if [ "$?" -ne 0 ]; then
79
echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify
0 commit comments