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.
1 parent 9ad3faf commit 1772c38Copy full SHA for 1772c38
application/restore.sh
@@ -25,7 +25,7 @@ if [ -z "${result}" ]; then
25
echo "${MYNAME}: INFO: ${message}"
26
else
27
echo "${MYNAME}: deleting database ${DB_NAME}"
28
- result=$(psql --host=${DB_HOST} --dbname=postgres --username=${DB_ROOTUSER} --command="DROP DATABASE ${DB_NAME};")
+ result=$(psql --host=${DB_HOST} --dbname=postgres --username=${DB_USER} --command="DROP DATABASE ${DB_NAME};")
29
if [ "${result}" != "DROP DATABASE" ]; then
30
message="Drop database command failed: ${result}"
31
echo "${MYNAME}: FATAL: ${message}"
0 commit comments