🔀 — Merge remote-tracking branch 'origin/development'

This commit is contained in:
Luc Didry 2020-08-20 13:56:29 +02:00
commit f8673cad87
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
1 changed files with 2 additions and 2 deletions

View File

@ -90,11 +90,11 @@ sub startup {
}
}
$lockfile = Mojo::File->new($lockfile)->touch();
Mojo::File->new($lockfile)->open('>'); # Create the file, like ->touch() but does not croak on fail
$self->provisioning();
$lockfile->remove();
unlink $lockfile if -e $lockfile;
});
# Create directory if needed