diff --git a/cmd/signald-cli/cmd/link.go b/cmd/signald-cli/cmd/link.go index 0ce0180..81544a3 100644 --- a/cmd/signald-cli/cmd/link.go +++ b/cmd/signald-cli/cmd/link.go @@ -58,6 +58,14 @@ var linkCmd = &cobra.Command{ } else { qrterminal.Generate(message.Data.URI, qrterminal.M, os.Stdout) } + break + + case "linking_successful": + if !uriOrQR { + fmt.Println("Successfully linked") + os.Exit(0) + } + break } } }