summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/torrc.global.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index f44eea5..730cdac 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -4,7 +4,7 @@ DataDirectory <%= data_dir %>
# log
<%- if scope.lookupvar('tor::daemon::log_rules') != [] then -%>
-<%- for scope.lookupvar('tor::daemon::log_rule') in log_rules -%>
+<%- for log_rule in scope.lookupvar('tor::daemon::log_rules') -%>
Log <%= log_rule %>
<%- end -%>
<%- else -%>