Skip to content

Commit d46bef2

Browse files
authored
Merge pull request #57 from vdesoutter/main
Add return code in case of error
2 parents fa26893 + d9615f8 commit d46bef2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/helper/exec-cmd.go

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func callExternal(additionalEnv []string, cwd string, mute bool, withOutput bool
5353
}
5454
return exitError.ExitCode(), outtext, err
5555
}
56+
return 1, "Error when launching the command", err
5657
}
5758
return 0, string(output), nil
5859
} else {

0 commit comments

Comments
 (0)