Fix for PID file: /tmp/sickbeard.pid already exists during auto updates

This commit is contained in:
echel0n 2014-06-19 10:36:31 -07:00
parent 4443a5a649
commit 95e928bfcb

View file

@ -1841,3 +1841,7 @@ def autoreload_shutdown():
# save settings
saveAll()
if CREATEPID:
logger.log(u"Removing pidfile " + str(PIDFILE))
remove_pid_file(PIDFILE)