summaryrefslogtreecommitdiff
path: root/templates/torrc.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.erb')
-rw-r--r--templates/torrc.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.erb b/templates/torrc.erb
index 2112931..04db56f 100644
--- a/templates/torrc.erb
+++ b/templates/torrc.erb
@@ -23,7 +23,7 @@ RunAsDaemon 1
DataDirectory <%= data_directory %>
## tor controller
-<%- if control_port != 0 then -%>
+<%- if control_port != '0' then -%>
ControlPort <%= control_port %>
HashedControlPassword <%= hashed_control_password %>
<%- end -%>