Jira (PDB-4744) Unify all default error exit statuses

7 views
Skip to first unread message

Rob Browning (Jira)

unread,
May 21, 2020, 3:53:03 PM5/21/20
to puppe...@googlegroups.com
Rob Browning created an issue
 
PuppetDB / Improvement PDB-4744
Unify all default error exit statuses
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2020/05/21 12:52 PM
Priority: Normal Normal
Reporter: Rob Browning

Make sure they all use cli.util/err-exit-status, and change that to something other than 1, perhaps 2 if we're already using it in some places, matching grep, and leaving 1 open for any commands that might need a non-error boolean result (as grep does).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Rob Browning (Jira)

unread,
May 21, 2020, 5:48:03 PM5/21/20
to puppe...@googlegroups.com
Rob Browning assigned an issue to Rob Browning
Change By: Rob Browning
Assignee: Rob Browning

Rob Browning (Jira)

unread,
May 28, 2020, 11:55:02 AM5/28/20
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Release Notes: Enhancement
Release Notes Summary: In cases where the PuppetDB process previously exited with a status of 1 on failure, it should now exit with a status of 2, leaving 1 free for possible use in the future as a false value (as other programs like grep do).

Rob Browning (Jira)

unread,
May 28, 2020, 11:57:04 AM5/28/20
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Fix Version/s: PDB 6.11.0
Reply all
Reply to author
Forward
0 new messages