[Nagiosplug-devel] Negate patch

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Sep 22 05:10:01 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21/09/07 07:17 PM, Ton Voon wrote:
> Hi!
> 
> Just to let you know I've committed a patch to negate by my  
> colleague, Duncan Ferguson.
> 
> Basically, negate was causing problems when matched with check_nrpe  
> because it was evaluating its arguments like a shell twice.

Awesome! I didn't applied Andrea's patch for mapping states in the past
mostly because of this issue. It works like a charm now!

Since Andrea's patch was all messed up (looks like diff got confused on
it) and I didn't have the original code I mostly rewritten it with some
fixes I already had in mind. Your already-written tests passed perfectly
on the first run :)

Also I took the liberty of re-using one of the example that explained to
use double-quotes to retain spaces... Now anything works: single, double
quotes, even backslash!

It's all in SVN now.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG9IeJ6dZ+Kt5BchYRAm9jAJ4lsE2WG7o1sZ37yZpcRYlS4PQJYgCghCGO
BAfsz+LevxjAtZwu5WQjmOs=
=lgas
-----END PGP SIGNATURE-----




More information about the Devel mailing list