From 01e1b979f8fd245b02df33afbacf3e416357caa3 Mon Sep 17 00:00:00 2001 From: r00t Date: Wed, 12 Apr 2017 09:11:53 -0400 Subject: [PATCH] sudo fix --- extra/templates/VERSION_INFO.txt.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/templates/VERSION_INFO.txt.j2 b/extra/templates/VERSION_INFO.txt.j2 index 817616c..85fb300 100644 --- a/extra/templates/VERSION_INFO.txt.j2 +++ b/extra/templates/VERSION_INFO.txt.j2 @@ -2,5 +2,5 @@ Version: {{ bdisk['ver'] }} Build: {{ build['buildnum'] }} Time: {{ build['time'] }} Machine: {{ hostname }} ({{ distro }}) -User: {{ build['user'] }}{% if build['realuser'] is defined and build['realuser'] > 0 %} ({{ build['realuser'] }}){% endif %} +User: {{ build['user'] }}{% if build['realuser'] is defined and build['realuser']|length > 0 %} ({{ build['realuser'] }}){% endif %}