[fix] Do not log migration to stretch in /tmp/. Issue #1280

This commit is contained in:
opi 2019-01-28 10:29:28 +01:00
parent 081d4b2a46
commit f0ef491949
No known key found for this signature in database
GPG key ID: 246F5501C061B01D

View file

@ -35,7 +35,7 @@ class MyMigration(Migration):
def migrate(self):
self.logfile = "/tmp/{}.log".format(self.name)
self.logfile = "/var/log/yunohost/{}.log".format(self.name)
self.check_assertions()