diff options
Diffstat (limited to 'plugins/check_volume_status.py')
-rwxr-xr-x | plugins/check_volume_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_volume_status.py b/plugins/check_volume_status.py index 04f3738..ce2b4de 100755 --- a/plugins/check_volume_status.py +++ b/plugins/check_volume_status.py @@ -55,7 +55,7 @@ def getVolumeQuotaStatus(args): return utils.PluginStatusCode.UNKNOWN, out returnMsg = "QUOTA:" - if qstatus.get("hard_ex_dirs") is not None: + if qstatus.get("hard_ex_dirs"): hard_limit_ex = ', '.join(qstatus['hard_ex_dirs']) returnMsg += ("hard limit exceeded on %s; " % hard_limit_ex) if qstatus.get('soft_ex_dirs'): |