Make sure initial files can be properly created

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-06-07 12:07:37 +02:00
parent da583f05fc
commit 49145a78e9
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ class Quota extends Wrapper {
}
public function mkdir($path) {
if ($this->quota === 0.0) {
$free = $this->free_space($path);
if ($free === 0.0) {
return false;
}