Skip to content

Commit edb05e7

Browse files
author
Kristan Kenney
committed
Merge branch 'bugfix-cli-scripts' into develop
2 parents ac77618 + 3c9e0d6 commit edb05e7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

bin/v-change-database-owner

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ fi
6666
#----------------------------------------------------------#
6767

6868
# Creating temporary directory
69-
tmpdir=$(mktemp -p $BACKUP -d)
70-
if [ "$?" -ne 0 ]; then
71-
echo "Error: can't create $tmpdir"
72-
log_event "$E_NOTEXIST" "$ARGUMENTS"
73-
exit $E_NOTEXIST
74-
fi
69+
mkdir -p $BACKUP/tmp.$database
7570

7671
# Suspend database
7772
$BIN/v-suspend-database $owner $database > /dev/null 2>&1

0 commit comments

Comments
 (0)