mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Don't show configuration error when Tor HS is not available
When we configure a Tor hidden service and haven't yet run Tor at least once, then Tor hidden service hostname and private key are not available. This situation requires running Tor atleast once and is not a configuration error. When Tor runs, it see the hidden service configuration and creates the Hidden service information.
This commit is contained in:
parent
a7afba8583
commit
9a88174ab4
@ -95,7 +95,7 @@ def get_status():
|
||||
hs_ports = ''
|
||||
elif output == 'error':
|
||||
hs_enabled = False
|
||||
hs_hostname = 'Configuration Error'
|
||||
hs_hostname = 'Not available (Run Tor at least once)'
|
||||
hs_ports = ''
|
||||
else:
|
||||
hs_enabled = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user