mirror of https://github.com/linkerd/linkerd2.git
Send non-zero status code when proxy-init command fails (#2064)
* send non-zero status code when the proxy-init command fails Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
This commit is contained in:
parent
717bdc0796
commit
f4b5789825
|
@ -1,7 +1,13 @@
|
|||
package main
|
||||
|
||||
import "github.com/linkerd/linkerd2/proxy-init/cmd"
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/linkerd/linkerd2/proxy-init/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
cmd.NewRootCmd().Execute()
|
||||
if err := cmd.NewRootCmd().Execute(); err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue