diff options
Diffstat (limited to 'client.js')
-rwxr-xr-x | client.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ catch(e){ } lockfiledesc=fs.openSync(lockfilename,"w"); } -fs.write(lockfiledesc,process.pid+"\n"); +fs.writeSync(lockfiledesc,process.pid+"\n"); process.on("exit",function(){ fs.closeSync(lockfiledesc); fs.unlinkSync(lockfilename); |