aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramontero <amontero@166637.no-reply.drupal.org>2013-07-15 20:13:24 +0200
committeramontero <amontero@166637.no-reply.drupal.org>2013-07-15 20:13:24 +0200
commit4f13ce12a5ed92b082d883e7a30eef1cd4a0500d (patch)
treea3324bfa9bf780b76e7bb3b939641ef4210445a0
parent8528e6d02444c39497e7aa88006661dd1adc9584 (diff)
downloadpuppet-tor-4f13ce12a5ed92b082d883e7a30eef1cd4a0500d.tar.gz
puppet-tor-4f13ce12a5ed92b082d883e7a30eef1cd4a0500d.tar.bz2
Fix ExitPolicyRejectPrivate not being omitted if set to 1. ( duritong/puppet-tor#5 )
-rw-r--r--templates/torrc.exit_policy.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb
index 92367c2..65f9d09 100644
--- a/templates/torrc.exit_policy.erb
+++ b/templates/torrc.exit_policy.erb
@@ -1,5 +1,5 @@
# exit policies: <%= name %>
-<%- if reject_private != 1 then -%>
+<%- if reject_private != '1' then -%>
ExitPolicyRejectPrivate <%= reject_private %>
<%- end -%>
<%- for policy in accept -%>