[sr-dev] [kamailio] Exit status for kamcmd (#211)

Daniel-Constantin Mierla notifications at github.com
Tue Jun 16 14:03:32 CEST 2015


I think it is a relative point of view to be considered.

kamcmd itself didn't fail, because it is a tool to take the command line parameters and send a command to kamailio. Then it prints the output from kamailio. In that respect, kamcmd was successful.

I just tested with **curl** tool and if I request a page that doesn't exits on a web site, its return code is also 0.

Making kamcmd aware of the meaning of the response from kamailio might add complexity and duplicate lot of context, which can become hard to maintain.

I let the discussion here open for other opinions, to see what would be preferred to be done. I consider to be normal behaviour right now.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/211#issuecomment-112401755
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150616/1470d528/attachment.html>


More information about the sr-dev mailing list