Skip to content

Commit

Permalink
fix: SshAccountSet 一处逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmx233 committed Aug 7, 2023
1 parent 8a37180 commit 9acfd48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/sshDev/client/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func SshAccountSet(account *proto.SshAccount) error {
return err
}
logger.Infoln("用户已删除")
} else if account.IsDel {
} else if account.IsKill {
if err = DoUserProcessKill(logger, account.Username); err != nil {
return err
}
Expand Down

0 comments on commit 9acfd48

Please sign in to comment.