diff options
author | Sahina Bose <sabose@redhat.com> | 2014-05-28 15:53:51 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-05-28 04:55:29 -0700 |
commit | 1306b9ec4e9fc098cf34a269727245c1e1499f20 (patch) | |
tree | dbd8dd8dea7c546a167afd6972c846fdf481d659 /tests | |
parent | 7de5bb0965f4cc0cf9d0a73c776be2b094180413 (diff) |
server-plugin: Corrected the exit status for plugin
The exit status from NRPE plugin was wrapped with
WEXITSTATUS which was earlier used when running commands
directly.
With the subprocess implementation, this is not required
as it always returns 0 for successful execution even when
nrpe plugin returns 1/2.
Change-Id: I3cda8d4aa5b4f726cb5c7faf05c7f2536115eafe
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1101211
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7905
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions