Skip to content

Commit

Permalink
Changed audit list return code to 2 which aligns with other list comm…
Browse files Browse the repository at this point in the history
…ands return codes
  • Loading branch information
michelvocks committed May 30, 2019
1 parent 0975731 commit 7dc0d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/audit_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7dc0d3c

Please sign in to comment.