diff options
Diffstat (limited to 'plugins/check_vol_server.py')
-rwxr-xr-x | plugins/check_vol_server.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/check_vol_server.py b/plugins/check_vol_server.py index 77156d2..4a4262f 100755 --- a/plugins/check_vol_server.py +++ b/plugins/check_vol_server.py @@ -4,7 +4,6 @@ import json import random import argparse import livestatus -import os from glusternagios import utils import server_utils @@ -96,7 +95,7 @@ def _getVolumeQuotaStatusOutput(hostgroup, volume): def execNRPECommand(command): status, output, err = utils.execCmd(command.split(), raw=True) - return os.WEXITSTATUS(status), output + return status, output def _executeRandomHost(hostgroup, command): |