mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-11-04 01:10:10 +08:00 
			
		
		
		
	update output
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									1637772e0b
								
							
						
					
					
						commit
						88b5394dac
					
				@ -2,7 +2,6 @@ package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"log"
 | 
			
		||||
	"strconv"
 | 
			
		||||
	"strings"
 | 
			
		||||
	"sync"
 | 
			
		||||
@ -131,12 +130,14 @@ func (p Plugin) Exec() error {
 | 
			
		||||
	case <-finished:
 | 
			
		||||
	case err := <-errChannel:
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			log.Println("drone-ssh error: ", err)
 | 
			
		||||
			fmt.Println("drone-ssh error: ", err)
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	log.Println("Successfully executed commands to all host.")
 | 
			
		||||
	fmt.Println("==========================================")
 | 
			
		||||
	fmt.Println("Successfully executed commands to all host.")
 | 
			
		||||
	fmt.Println("==========================================")
 | 
			
		||||
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user