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');
//** 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 = '';
......
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