From f358e600ac0de681276fca537e0bf923ea5ee817 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Fri, 7 Aug 2020 10:40:02 -0500 Subject: [PATCH] use SilentError --- pkg/cmd/auth/status/status.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/cmd/auth/status/status.go b/pkg/cmd/auth/status/status.go index 618fa7c4d..b94f94b0b 100644 --- a/pkg/cmd/auth/status/status.go +++ b/pkg/cmd/auth/status/status.go @@ -143,9 +143,7 @@ func statusRun(opts *StatusOptions) error { } if failed { - // TODO unsure about this; want non-zero exit but don't need to print anything more. Is the - // non-zero exit worth it? Should we tweak error handling to not print "" errors? - return errors.New("") + return cmdutil.SilentError } return nil