Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorinvo committed Jun 13, 2017
1 parent 72cb1b1 commit 8d1739b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ func main() {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
err = syscall.Exec(cmd, args, os.Environ())
if err != nil {
if err = syscall.Exec(cmd, args, os.Environ()); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
Expand Down

0 comments on commit 8d1739b

Please sign in to comment.