Commit beb1727b authored by jwarnier's avatar jwarnier

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

parent 4a6aedd1
......@@ -57,9 +57,8 @@ $FILE = realpath('../install.php');
//** Get distribution identifier
//** IMPORTANT!
// 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
// /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 there!
function get_distname() {
$distname = '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment