]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-monitor-bot-process.patch
- fix check of bot pid:
[packages/eventum.git] / eventum-monitor-bot-process.patch
1 --- include/class.monitor.php   2005-02-24 00:15:00.000000000 +0200
2 +++ ./include/class.monitor.php 2005-02-24 12:17:51.000000000 +0200
3 @@ -290,7 +290,7 @@
4      {
5          // check if any bot.php process is still running (lame, but oh well)
6          ob_start();
7 -        passthru("ps -ef | grep 'php -q bot.php'");
8 +        passthru("ps -ef | grep '[-]q bot.php'");
9          $contents = ob_get_contents();
10          ob_end_clean();
11          $lines = explode("\n", $contents);
This page took 0.024186 seconds and 3 git commands to generate.