Commit a205f1e3 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix helper-monitor.py bug introduced in b2592d38

The bug affected snf-image when working with kvm
parent 21063d2d
......@@ -189,7 +189,10 @@ if __name__ == "__main__":
else:
raise
else:
for data in os.read(sys.stdin.fileno(), BUFSIZE):
while True:
data = os.read(sys.stdin.fileno(), BUFSIZE)
monitor.process(data)
if not data:
break
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai :
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