Commit 3cfd6c69 authored by Tristan Cavelier's avatar Tristan Cavelier

check_computer_memory: fix promise return value

parent 3bd4963d
...@@ -98,7 +98,7 @@ def main(): ...@@ -98,7 +98,7 @@ def main():
print error print error
return 0 return 0
print message print message
return 1 if result else 0 return 0 if result else 1
if __name__ == "__main__": if __name__ == "__main__":
sys.exit(main()) sys.exit(main())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment