removed stderr

This commit is contained in:
dj2ls 2022-10-05 11:00:05 +02:00
parent 3ef3af88e1
commit 35a45ab641

View file

@ -871,7 +871,7 @@ const isRunning = (query, cb) => {
case 'linux' : cmd = `ps -A`; break; case 'linux' : cmd = `ps -A`; break;
default: break; default: break;
} }
exec(cmd, (err, stdout, stderr) => { exec(cmd, (err, stdout) => {
cb(stdout.toLowerCase().indexOf(query.toLowerCase()) > -1); cb(stdout.toLowerCase().indexOf(query.toLowerCase()) > -1);
}); });
} }