Explorar el Código

Fixed typo in delete psql database part
Thanks to @joshbmarshall for the solution and @kpapad904 for pointing us to it.

Raphael Schneeberger hace 6 años
padre
commit
2fe220911a
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      CHANGELOG.md
  2. 1 1
      func/db.sh

+ 1 - 0
CHANGELOG.md

@@ -66,6 +66,7 @@ All notable changes to this project will be documented in this file.
 - Added mpm_itk for Deb10 single php installation only.
 - Hardening nginx configuration, drop TLSv1.1 support.
 - Fixed excluding folders named "logs" from restore backup, thanks to @davidgolsen.
+- Fixed typo in delete psql database part, thanks to @joshbmarshall.
 
 ## [1.0.6] - 2019-09-24 - Hotfix
 ### Bugfixes

+ 1 - 1
func/db.sh

@@ -322,7 +322,7 @@ delete_pgsql_database() {
     psql_connect $HOST
 
     query="REVOKE ALL PRIVILEGES ON DATABASE $database FROM $DBUSER"
-    psql_qyery "$query" > /dev/null
+    psql_query "$query" > /dev/null
 
     query="DROP DATABASE $database"
     psql_query "$query" > /dev/null