masterzen / mysql-snmp

Net-SNMP perl agent for monitoring MySQL servers
http://www.masterzen.fr/software-contributions/mysql-snmp-monitor-mysql-with-snmp/
GNU General Public License v2.0
67 stars 33 forks source link

Actually exit after printing version message #28

Closed dentcat closed 10 years ago

dentcat commented 10 years ago

Current code silently runs as a daemon in background when -V or --version command-line option is specified. Expected behaviour is for the program to terminate after displaying the version message.

Signed-off-by: Masood Behabadi masood@dentcat.com

masterzen commented 10 years ago

This looks good! Thanks for your contribution!

dentcat commented 10 years ago

Thanks Brice for the quick merge.

On Thu, May 29, 2014 at 6:58 PM, Brice Figureau notifications@github.com wrote:

Merged #28 https://github.com/masterzen/mysql-snmp/pull/28.

— Reply to this email directly or view it on GitHub https://github.com/masterzen/mysql-snmp/pull/28#event-125908733.