summaryrefslogtreecommitdiff
path: root/provider_base/lib/macros/keys.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-04 12:25:54 -0800
committerguido <guido@bruo.org>2014-11-04 19:16:11 -0300
commit3c06efc2529188c175209d09f8db1932dc4295b8 (patch)
tree1be9fd6794e9371fd3aefd3d4be69a73f1748658 /provider_base/lib/macros/keys.rb
parent18f5d6ea49446f214cbb764ea223f427aafd641e (diff)
tor - to activate hidden service, now set tor.hidden_service.active = true
Diffstat (limited to 'provider_base/lib/macros/keys.rb')
-rw-r--r--provider_base/lib/macros/keys.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/provider_base/lib/macros/keys.rb b/provider_base/lib/macros/keys.rb
index 0d46acb5..ea4c3df2 100644
--- a/provider_base/lib/macros/keys.rb
+++ b/provider_base/lib/macros/keys.rb
@@ -15,8 +15,10 @@ module LeapCli
path = file_path(path_name)
if path.nil?
generate_tor_key(key_type)
+ file_path(path_name)
+ else
+ path
end
- return path
end
#
@@ -27,8 +29,10 @@ module LeapCli
path = file_path(path_name)
if path.nil?
generate_tor_key(key_type)
+ file_path(path_name)
+ else
+ path
end
- return path
end
#