mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
fix: ssh process error not resulting in pipeline error
This commit is contained in:
parent
7220c94832
commit
8405b241a4
5
main.go
5
main.go
@ -178,7 +178,10 @@ REPOSITORY:
|
||||
Github: https://github.com/appleboy/drone-ssh
|
||||
`
|
||||
|
||||
app.Run(os.Args)
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
fmt.Println("drone-ssh error: ", err)
|
||||
os.Exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
func run(c *cli.Context) error {
|
||||
|
Loading…
Reference in New Issue
Block a user