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 (#105)
* fix: ssh process error not resulting in pipeline error * Update main.go
This commit is contained in:
parent
9dd4b8db8d
commit
4d443c40f2
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