#49712 lib389 CLI tools should return a result code on failures
Closed: wontfix 3 years ago Opened 3 years ago by mreynolds.

Issue Description

$ dsidm -D "cn=Dm" --json -b "dc=example,dc=com" ldap://localhost:389 user get NOT_HERE
Enter password for cn=Dm on ldap://localhost:389 :
Error: No object exists given the filter criteria NOT_HERE

$ echo $?
0

We should be returning result code "1" so the caller can tell when an error occurs.


Metadata Update from @mreynolds:
- Issue assigned to mreynolds

3 years ago

Metadata Update from @spichugi:
- Custom field component adjusted to None
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to ack
- Custom field type adjusted to None
- Custom field version adjusted to None

3 years ago

Metadata Update from @mreynolds:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2771

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: fixed)

2 years ago

Login to comment on this ticket.

Metadata