From 7dc0d3ca535c2abf13350d753ccda1bfa09f94ba Mon Sep 17 00:00:00 2001 From: Michel Vocks Date: Wed, 29 May 2019 20:37:00 -0500 Subject: [PATCH] Changed audit list return code to 2 which aligns with other list commands return codes --- command/audit_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/audit_list.go b/command/audit_list.go index 6c8ae2f6bb81..392d55bae222 100644 --- a/command/audit_list.go +++ b/command/audit_list.go @@ -98,7 +98,7 @@ func (c *AuditListCommand) Run(args []string) int { case "table": if len(audits) == 0 { c.UI.Output(fmt.Sprintf("No audit devices are enabled.")) - return 0 + return 2 } if c.flagDetailed {