Skip to content

Commit 0c5140a

Browse files
author
Marius Burkard
committed
- fixed syntax error from previous commits
1 parent 709638f commit 0c5140a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/system.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,7 @@ function intval($string, $force_numeric = false) {
18321832
function is_mounted($mountpoint){
18331833
//$cmd = 'df 2>/dev/null | grep " '.$mountpoint.'$"';
18341834
$cmd = 'mount 2>/dev/null | grep ?';
1835-
exec($cmd, ' on '. $mountpoint . ' type ');
1835+
$this->exec_safe($cmd, ' on '. $mountpoint . ' type ');
18361836
$return_var = $this->last_exec_retcode();
18371837
return $return_var == 0 ? true : false;
18381838
}

0 commit comments

Comments
 (0)