ngrep model must overwrite CheckRunning function

Device: NANO
Type: Bug
Status: Open

/pineapple/modules/ngrep/api/module.php
#add code


protected function checkRunning($processName)
{
$processName = escapeshellarg($processName);
return exec("ps | grep -w {$processName} | grep -v 'grep ngrep' | wc -l") > 1 ;
}

Comments:

There are currently no comments.

Add Comment:

Please log in to comment.