瀏覽代碼

fix: fix linter issues

Emmanuel Bouthenot 6 小時之前
父節點
當前提交
ff352ec533
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      autopostgresqlbackup

+ 5 - 2
autopostgresqlbackup

@@ -573,8 +573,11 @@ db_list () {
 # {{{ db_dump()
 db_dump () {
     case ${DBENGINE} in
-        postgresql|mysql)
-            ${DBENGINE}db_dump "${1}"
+        postgresql)
+            postgresqldb_dump "${1}"
+            ;;
+        mysql)
+            mysqldb_dump "${1}"
             ;;
         *)
             log_error "Unsupported database engine ${DBENGINE}, check DBENGINE configuration parameter"