Skip to content

Commit

Permalink
Catch permission error in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lees committed Mar 14, 2017
1 parent baf0ffc commit f6597eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geocamPycroraptor2/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def pidIsActive(pid):
except OSError, oe:
if oe.errno == errno.ESRCH:
return False
elif oe.errno == errno.EPERM:
return False
else:
raise

Expand Down

0 comments on commit f6597eb

Please sign in to comment.