mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-23 05:54:15 -04:00
When stopping an onion, dont even try if --local-only
This commit is contained in:
parent
4c6237440a
commit
d91da6fa77
1 changed files with 10 additions and 9 deletions
|
@ -665,6 +665,7 @@ class Onion(object):
|
|||
Stop a specific onion service
|
||||
"""
|
||||
onion_host = mode_settings.get("general", "service_id")
|
||||
if onion_host:
|
||||
self.common.log("Onion", "stop_onion_service", f"onion host: {onion_host}")
|
||||
try:
|
||||
self.c.remove_ephemeral_hidden_service(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue