From b091ab402906b90b5656a8c8c57aaefd89d8ac2e Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 23 May 2019 09:42:16 +0200 Subject: [PATCH] Allow to display logs when postinstall fails Closes https://github.com/YunoHost/issues/issues/1345. --- bin/yunohost | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/yunohost b/bin/yunohost index fd9c2dbfd..10a21a9da 100755 --- a/bin/yunohost +++ b/bin/yunohost @@ -195,7 +195,8 @@ if __name__ == '__main__': # Check that YunoHost is installed if not os.path.isfile('/etc/yunohost/installed') and \ (len(args) < 2 or (args[0] +' '+ args[1] != 'tools postinstall' and \ - args[0] +' '+ args[1] != 'backup restore')): + args[0] +' '+ args[1] != 'backup restore' and \ + args[0] +' '+ args[1] != 'log display')): from moulinette import m18n # Init i18n