1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-29 06:33:22 +00:00

Fixed uncaught exception if PID file is already deleted when pseudo process is killed

This commit is contained in:
Bryan Roe
2019-10-18 23:59:59 -07:00
parent 001e4944d1
commit 5cbbedb8aa
2 changed files with 15 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2203,7 +2203,7 @@ function serviceManager()
}\
function cleanupAndExit()\
{\
if(options.pidPath) { require('fs').unlinkSync(options.pidPath); }\
if(options.pidPath) { try{require('fs').unlinkSync(options.pidPath);} catch(x){} }\
}\
function spawnChild()\
{\