Compare commits
No commits in common. "b4c95f7ce3834363810a0066bf863f47d9793255" and "900141047176139f00d1c0d862727d6bb0fa7c95" have entirely different histories.
b4c95f7ce3
...
9001410471
@ -110,9 +110,10 @@ func main() {
|
|||||||
Stdout: os.Stdout,
|
Stdout: os.Stdout,
|
||||||
Stderr: os.Stderr,
|
Stderr: os.Stderr,
|
||||||
}
|
}
|
||||||
if err := cmd.Run(); err != nil {
|
err = cmd.Run()
|
||||||
|
if err != nil {
|
||||||
if exitError, ok := err.(*exec.ExitError); ok {
|
if exitError, ok := err.(*exec.ExitError); ok {
|
||||||
os.Exit(exitError.ExitCode())
|
exitError.ExitCode()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user