Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
mosquitto_pub does not return error exit code when connection fails #1285
mosquitto_pub in version 1.4.10 returned exit code 5 when a connection to Mosquitto was not allowed (e.g. after adding
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