Skip to content

Commit 4ee3396

Browse files
committed
Launcher: Do not check for error when calling AddChildProcess
1 parent 9a9e427 commit 4ee3396

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

launcher/vault.go

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -553,21 +553,7 @@ func (vc *VaultController) Start() bool {
553553
}
554554

555555
// Add process as a child process
556-
err = child_process_manager.AddChildProcess(cmd.Process)
557-
558-
if err != nil {
559-
msg, _ := Localizer.Localize(&i18n.LocalizeConfig{
560-
DefaultMessage: &i18n.Message{
561-
ID: "Error",
562-
Other: "Error: {{.Message}}",
563-
},
564-
TemplateData: map[string]interface{}{
565-
"Message": err.Error(),
566-
},
567-
})
568-
fmt.Println(msg)
569-
os.Exit(1)
570-
}
556+
_ = child_process_manager.AddChildProcess(cmd.Process)
571557

572558
vc.started = true
573559
vc.errorMessage = ""

0 commit comments

Comments
 (0)