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:
File diff suppressed because one or more lines are too long
@@ -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()\
|
||||
{\
|
||||
|
||||
Reference in New Issue
Block a user