Skip to content
Snippets Groups Projects
Commit a98e82ad authored by root's avatar root
Browse files

Forgot to make an unknown check exit STATE_OK on check_gpu

parent ae18176b
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ def nvidia_query_gpus(query):
except FileNotFoundError as e:
print("UNKNOWN - Could not detect nvidia-smi utility. |")
sys.exit(STATE_UNKNOWN)
sys.exit(STATE_OK)
def main():
GPU_DATA = nvidia_query_gpus(NVIDIA_QUERIES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment