Skip to content

Commit

Permalink
[BUGFIX]If command exit with error, jocasta will complain that the pr…
Browse files Browse the repository at this point in the history
…ogram -c cannot be runned
  • Loading branch information
marema31 committed Feb 28, 2019
1 parent 520a251 commit 58348b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func main() {

err = cmd.Wait()
if err != nil {
log.Fatalf("Unable to exec %s: %s\n", os.Args[1], err)
log.Fatalf("Unable to exec %s: %s\n", os.Args[i], err)
}
}

Expand Down

0 comments on commit 58348b5

Please sign in to comment.