diff options
Diffstat (limited to 'cmd/gitlab-shell-authorized-principals-check')
-rw-r--r-- | cmd/gitlab-shell-authorized-principals-check/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gitlab-shell-authorized-principals-check/main.go b/cmd/gitlab-shell-authorized-principals-check/main.go index 645ccf0..328e11f 100644 --- a/cmd/gitlab-shell-authorized-principals-check/main.go +++ b/cmd/gitlab-shell-authorized-principals-check/main.go @@ -7,6 +7,7 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/internal/command" "gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter" "gitlab.com/gitlab-org/gitlab-shell/internal/config" + "gitlab.com/gitlab-org/gitlab-shell/internal/console" "gitlab.com/gitlab-org/gitlab-shell/internal/executable" ) @@ -38,7 +39,7 @@ func main() { } if err = cmd.Execute(); err != nil { - fmt.Fprintf(readWriter.ErrOut, "%v\n", err) + console.DisplayWarningMessage(err.Error(), readWriter.ErrOut) os.Exit(1) } } |