Fixing check_tcp to return desired exit code (#1257)

gcoxmoz notifications at
Sat May 17 07:21:36 CEST 2014
A simple little patch to return an accurate statement ("Connection
refused") along with the desired return code when asked to do so.

The global exit code is being passed around as a functional return code, and
so the state of the actual connection function is being lost/interpolated
badly upstream.
You can merge this Pull Request by running:

  git pull master

Or you can view, comment on it, or merge it online at:

-- Commit Summary --

  * Update check_tcp.c
  * Update netutils.c
  * Patch against issue 1062

-- File Changes --

    M plugins/check_tcp.c (2)
    M plugins/netutils.c (12)

-- Patch Links --

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list