Merge pull request #2091 from lbryio/daemon-start
Fix: correctly search for daemon process on startup
This commit is contained in:
commit
4bbc3135c9
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if (isDev) {
|
|||
}
|
||||
|
||||
app.on('ready', async () => {
|
||||
const processList = await findProcess('name', 'lbrynet');
|
||||
const processList = await findProcess('name', 'lbrynet start');
|
||||
const isDaemonRunning = processList.length > 0;
|
||||
|
||||
if (!isDaemonRunning) {
|
||||
|
|
Loading…
Add table
Reference in a new issue