summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/server.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/server.erb b/templates/server.erb
index 0421e24..a6025ca 100644
--- a/templates/server.erb
+++ b/templates/server.erb
@@ -11,7 +11,7 @@ port <%= scope.lookupvar('port') %>
<% end -%>
group <%= scope.lookupvar('group') %>
user <%= scope.lookupvar('user') %>
-<% if logfile -%>
+<% if scope.lookupvar('logfile') -%>
log-append <%= scope.lookupvar('logfile') %>
<% end -%>
status <%= scope.lookupvar('status_log') %>