mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-02-02 21:27:15 +08:00
fix issue #82
This commit is contained in:
parent
fa475768fa
commit
8f7d4920ae
@ -105,6 +105,9 @@ func CmdLogout() cli.Command {
|
||||
confirm string
|
||||
activeUser = config.Config.ActiveUser()
|
||||
)
|
||||
if activeUser == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
if !c.Bool("y") {
|
||||
fmt.Printf("确认退出当前帐号: %s ? (y/n) > ", activeUser.Nickname)
|
||||
|
Loading…
Reference in New Issue
Block a user