mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-10-29 00:51:15 +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
 |     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 { | func run(c *cli.Context) error { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Damian Kaczmarek
						Damian Kaczmarek