Skip to content

Commit

Permalink
Merge pull request #2 from lordelph/master
Browse files Browse the repository at this point in the history
added missing error message to fatal output
Jan Nabbefeld committed Mar 11, 2015
2 parents 247dbe5 + 1561f05 commit 609a669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-cron.go
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ func execute(command string, args []string) {
log.Fatal(err)
}
if err := cmd.Start(); err != nil {
log.Fatalf("cmd.Start: %v")
log.Fatalf("cmd.Start: %v", err)
}

run.Pid = cmd.Process.Pid

0 comments on commit 609a669

Please sign in to comment.