2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

fix: 修正 PostgreSQL CLI 下备份提示数据库不存在

This commit is contained in:
耗子
2024-03-06 03:38:17 +08:00
parent d921939186
commit d3e758f61a

View File

@@ -327,7 +327,7 @@ func (receiver *Panel) Handle(ctx console.Context) error {
color.Greenln(hr)
return nil
}
if strings.Contains(check, name) {
if !strings.Contains(check, name) {
color.Redln("|-数据库不存在")
color.Greenln(hr)
return nil