Skip to content

Commit cee5684

Browse files
authored
Fix -s flag (#24)
1 parent 3ad6054 commit cee5684

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

internal/executor/executor.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ func New(opt *option.Options, hostname string) {
5050
}
5151
}
5252

53-
fmt.Println(out)
53+
if out != "" {
54+
fmt.Println(out)
55+
}
5456
}
5557

5658
func writeToFile(data, output string) {

0 commit comments

Comments
 (0)