mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
207 stars 44 forks source link

Fixed error when reading blank pid file. #99

Closed Xorgon closed 6 years ago

Xorgon commented 6 years ago

The error reported in issue #80 was caused by an erroneous blank pid file being stored. This caused mark2 to attempt to cast an empty string to an integer and thus crash. This commit fixes that error by removing blank pid files when they are encountered, similar to how nonexistent pids are handled.