update output

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-05-10 21:26:31 +08:00
parent 1637772e0b
commit 88b5394dac
No known key found for this signature in database
GPG Key ID: 0F84B2110C500B1F

View File

@ -2,7 +2,6 @@ package main
import ( import (
"fmt" "fmt"
"log"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
@ -131,12 +130,14 @@ func (p Plugin) Exec() error {
case <-finished: case <-finished:
case err := <-errChannel: case err := <-errChannel:
if err != nil { if err != nil {
log.Println("drone-ssh error: ", err) fmt.Println("drone-ssh error: ", err)
return 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 return nil
} }