Skip to content

Commit

Permalink
log host+user with every cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
shoce committed Feb 28, 2024
1 parent 7977e84 commit 2ec1d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hs.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func runssh(cmds string, cmd []string, stdin io.Reader) (status string, err erro
}

if !SILENT {
log(fmt.Sprintf("%s: ", cmds))
log(fmt.Sprintf("Host=%s User=%s hs: %s: ", Host, User, cmds))
}

copyoutnotify := make(chan error)
Expand Down

0 comments on commit 2ec1d1c

Please sign in to comment.