tor: skip ControlPort in torrc, if not set.

This commit is contained in:
Jörg Thalheim 2017-09-13 23:30:45 +01:00
parent 987a2be430
commit bb5b084986
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ let
GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
''}
${optint "ControlPort" (toString cfg.controlPort)}
${optint "ControlPort" cfg.controlPort}
''
# Client connection config
+ optionalString cfg.client.enable ''