Skip to content

Commit

Permalink
Fix -s flag (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
FalcoXYZ committed Apr 13, 2022
1 parent 3ad6054 commit cee5684
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/executor/executor.go
Expand Up @@ -50,7 +50,9 @@ func New(opt *option.Options, hostname string) {
}
}

fmt.Println(out)
if out != "" {
fmt.Println(out)
}
}

func writeToFile(data, output string) {
Expand Down

0 comments on commit cee5684

Please sign in to comment.