Skip to content

Commit b9b98d1

Browse files
fix: return when tor not installed
1 parent 26b8890 commit b9b98d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/modules/onionshare.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,17 @@ def onionshare(advanced=False):
120120
sudo dnf install tor
121121
"""
122122
)
123+
return
123124
case "darwin":
124125
print(
125126
"""
126127
brew install tor
127128
"""
128129
)
130+
return
129131
case _:
130132
print("Unknown platform")
133+
return
131134

132135
running = True
133136
config_file = None

0 commit comments

Comments
 (0)