Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Mount command may return 32 error codes (already mounted) and this wa…
Browse files Browse the repository at this point in the history
…s interpreted as a false negative.

-c
  • Loading branch information
cdujeu committed Nov 24, 2014
1 parent 813acf5 commit 2117662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/meta.mount/class.FilesystemMounter.php
Expand Up @@ -150,7 +150,7 @@ public function mountFS()
$output = shell_exec($cmd1);
$success = !empty($output);
}else{
$success = ($res == 0);
$success = ($res == 0 || $res == 32);
}
if (!$success) {
throw new Exception("Error while mounting file system!");
Expand Down

0 comments on commit 2117662

Please sign in to comment.