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 return error exit code when connection fails #1285
Milestone
Comments
ralight
added a commit
that referenced
this issue
May 21, 2019
Thanks to janniswarnat. Closes #1285.
This wasn't deliberate, thanks for reporting it. I've just pushed a change that fixes it and it will be in 1.6.3. |
janniswarnat
pushed a commit
to linksmart/border-gateway
that referenced
this issue
Aug 6, 2019
vankxr
pushed a commit
to vankxr/mosquitto
that referenced
this issue
Aug 9, 2019
Thanks to janniswarnat. Closes eclipse#1285.
vankxr
pushed a commit
to vankxr/mosquitto
that referenced
this issue
Aug 9, 2019
Thanks to janniswarnat. Closes eclipse#1285.
ralight
added a commit
that referenced
this issue
Sep 18, 2019
Thanks to janniswarnat. Closes #1285.
ralight
added a commit
that referenced
this issue
Sep 18, 2019
Thanks to janniswarnat. Closes #1285.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all,
mosquitto_pub in version 1.4.10 returned exit code 5 when a connection to Mosquitto was not allowed (e.g. after adding
allow_anonymous false
tomosquitto.conf
):In version 1.6.2 mosquitto_pub returns exit code 0 in the same case:
Is that a bug or was a deliberate design decision made to change the behaviour? I could not find anything in the mosquitto_pub docs about exit codes.
Thanks in advance for your feedback and best regards
Jannis
The text was updated successfully, but these errors were encountered: