Commit 5a56e6a9 authored by Marius Cramer's avatar Marius Cramer

Suppress errors on tmp_out array

parent bb690d44
......@@ -171,7 +171,7 @@ $install_mode = $inst->simple_query('Installation mode', array('standard', 'expe
//** Get the hostname
$tmp_out = array();
exec('hostname -f', $tmp_out);
$conf['hostname'] = @$tmp_out[0];
//** Prevent empty hostname
$check = false;
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