Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mosquitto_pub does not exit 1 on connection refused #1778

Closed
jflambert opened this issue Aug 12, 2020 · 1 comment
Closed

mosquitto_pub does not exit 1 on connection refused #1778

jflambert opened this issue Aug 12, 2020 · 1 comment
Milestone

Comments

@jflambert
Copy link

mosquitto_pub version 1.6.9 running on libmosquitto 1.6.9
using the alpine-3.12 mosquitto-clients apk.

/ # mosquitto_pub -t test -m test -u gooduser -P goodpass
/ # echo $?
0
/ # mosquitto_pub -t test -m test -u baduser -P badpass
Connection error: Connection Refused: bad user name or password.
/ # echo $?
0
@ralight
Copy link
Contributor

ralight commented Aug 12, 2020

That's now fixed in the fixes branch, thanks for the report.

@ralight ralight added this to the 1.6.12 milestone Aug 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants