added comment

This commit is contained in:
danielsagi
2018-08-16 19:11:36 +03:00
committed by GitHub
parent 03b81a9b8f
commit db7e054753

View File

@@ -102,6 +102,7 @@ def main():
handler.join()
except KeyboardInterrupt:
logging.debug("Kube-Hunter stopped by user")
# happens when running a container without interactive option
except EOFError:
logging.error("\033[0;31mPlease run again with -it\033[0m")
finally:
@@ -115,4 +116,4 @@ def main():
while True: time.sleep(5)
if __name__ == '__main__':
main()
main()