mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 04:53:28 +02:00
Fix isProcessRunning error in strict mode
This commit is contained in:
parent
aaf9b9ac7f
commit
52f9100332
1 changed files with 1 additions and 2 deletions
|
@ -823,8 +823,7 @@ const notificationIcon = path.join(__dirname, '../resources/console-notification
|
|||
|
||||
function isProcessRunning(pid) {
|
||||
try {
|
||||
running = process.kill(pid, 0);
|
||||
return true;
|
||||
return process.kill(pid, 0);
|
||||
} catch (e) {
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue