Skip to content
Browse files

return empty list when passenger status times out

  • Loading branch information...
1 parent 4352af0 commit 83858b3128aee67cb4273e7d81f72d35c60e966c @smith smith committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 passenger/python_modules/passenger.py
View
2 passenger/python_modules/passenger.py
@@ -192,7 +192,7 @@ def timeout_command(command, timeout):
if (now - start).seconds> timeout:
os.system("sudo kill %s" % process.pid)
os.waitpid(-1, os.WNOHANG)
- return None
+ return []
return process.stdout.readlines()
if __name__ == '__main__':

0 comments on commit 83858b3

Please sign in to comment.
Something went wrong with that request. Please try again.