summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bazarr.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bazarr.py b/bazarr.py
index d4929937a..f9e5d1c3f 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -80,6 +80,9 @@ if __name__ == '__main__':
while True:
check_status()
try:
- time.sleep(5)
+ if sys.platform.startswith('win'):
+ time.sleep(5)
+ else:
+ os.wait()
except (KeyboardInterrupt, SystemExit):
pass