We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac77618 + 3c9e0d6 commit edb05e7Copy full SHA for edb05e7
bin/v-change-database-owner
@@ -66,12 +66,7 @@ fi
66
#----------------------------------------------------------#
67
68
# 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
+mkdir -p $BACKUP/tmp.$database
75
76
# Suspend database
77
$BIN/v-suspend-database $owner $database > /dev/null 2>&1
0 commit comments