Skip to content
Snippets Groups Projects
Commit beb1727b authored by jwarnier's avatar jwarnier
Browse files

Slightly improve process detection using a well-known UNIX shell trick (use one grep less).

parent 4a6aedd1
No related branches found
No related tags found
No related merge requests found
...@@ -57,9 +57,8 @@ $FILE = realpath('../install.php'); ...@@ -57,9 +57,8 @@ $FILE = realpath('../install.php');
//** Get distribution identifier //** Get distribution identifier
//** IMPORTANT! //** IMPORTANT!
// This is the same code as in /server/mods-available/monitor_core_module.inc.php // This is the same code as in server/mods-available/monitor_core_module.inc.php
// So if you change it here, you also have to change it in // So if you change it here, you also have to change it in there!
// /server/mods-available/monitor_core_module.inc.php!
function get_distname() { function get_distname() {
$distname = ''; $distname = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment