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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user