mirror of
https://github.com/moul/sshportal.git
synced 2025-01-11 01:47:46 +08:00
fix #69
This commit is contained in:
parent
8e62d21c25
commit
2a2554e7a3
1 changed files with 1 additions and 1 deletions
2
shell.go
2
shell.go
|
@ -2187,7 +2187,7 @@ GLOBAL OPTIONS:
|
|||
if len(words) == 0 {
|
||||
continue
|
||||
}
|
||||
NewEvent("shell", words[0]).SetAuthor(myself).SetArg("interactive", true).SetArg("args", words[1:]).Log(db)
|
||||
NewEvent("shell", words[0]).SetArg("interactive", true).SetArg("args", words[1:]).Log(db)
|
||||
if err := app.Run(append([]string{"config"}, words...)); err != nil {
|
||||
if cliErr, ok := err.(*cli.ExitError); ok {
|
||||
if cliErr.ExitCode() != 0 {
|
||||
|
|
Loading…
Reference in a new issue