Commit 0c5140ab authored by Marius Burkard's avatar Marius Burkard

- fixed syntax error from previous commits

parent 709638f1
Pipeline #1265 passed with stage
in 2 minutes and 34 seconds
......@@ -1832,7 +1832,7 @@ class system{
function is_mounted($mountpoint){
//$cmd = 'df 2>/dev/null | grep " '.$mountpoint.'$"';
$cmd = 'mount 2>/dev/null | grep ?';
exec($cmd, ' on '. $mountpoint . ' type ');
$this->exec_safe($cmd, ' on '. $mountpoint . ' type ');
$return_var = $this->last_exec_retcode();
return $return_var == 0 ? true : 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