Avoid collision between startup and recurring provisionings

This commit is contained in:
Luc Didry 2019-07-30 20:17:52 +02:00
parent 357361e406
commit abb9e4e4a2
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
1 changed files with 0 additions and 3 deletions

View File

@ -72,9 +72,6 @@ sub startup {
$self->provisioning();
});
# For the first launch (after, this isn't really useful)
$self->provisioning();
# Create directory if needed
mkdir($self->config('upload_dir'), 0700) unless (-d $self->config('upload_dir'));
die ('The upload directory ('.$self->config('upload_dir').') is not writable') unless (-w $self->config('upload_dir'));