tehmaze/nagios-cli — pull request #2 by saintaardvark (2014-11-22 18:24:37+00:00)
Title: Fix read-only check.

The read-only check was backwards: it was returning True if the pipe had been opened succesfully in append-mode. Invert it to get the proper sense.