Merge pull request #2091 from lbryio/daemon-start

Fix: correctly search for daemon process on startup
This commit is contained in:
Sean Yesmunt 2018-11-05 16:48:38 -05:00 committed by GitHub
commit 4bbc3135c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {