From 9a88174ab4f761ddcaa9a9528ce1e5052d3f8e93 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 11 Nov 2014 21:56:29 +0530 Subject: [PATCH] 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. --- plinth/modules/tor/tor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/tor/tor.py b/plinth/modules/tor/tor.py index ab48727d3..76e760b83 100644 --- a/plinth/modules/tor/tor.py +++ b/plinth/modules/tor/tor.py @@ -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