Skip to content

Commit

Permalink
Remove double log for stdio, add log for standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
khrj committed Mar 17, 2021
1 parent e162a3e commit e7b4f2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func main() {

if isStandalone {
err := cmd.Start()
logger.Success(statProgramStart)

if err != nil {
logger.FatalError(sFailedToStartChildProcessError)
Expand Down
1 change: 0 additions & 1 deletion daemon/stdio/stdio.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func scanProcessStdoutAndValidate(cmd *exec.Cmd) error {
}

err = cmd.Start()
logger.Success(statProgramStart)

if err != nil {
logger.Error(sFailedToStartChildProcessError)
Expand Down

0 comments on commit e7b4f2a

Please sign in to comment.