mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-29 05:16:27 -04:00
Set success_flag when running the new tweak menu
Former-commit-id: b799bdc3b81c7e38cfad2fab46042bf25de7c157 Former-commit-id: a3e9b01e5b3c4f5f8bfb70ee94b26ea6d82cb031
This commit is contained in:
@@ -802,6 +802,7 @@ if __name__ == "__main__":
|
||||
success_flag = True
|
||||
read_shortcut()
|
||||
elif arguments[0] == 'tweak':
|
||||
success_flag = True
|
||||
from stweak import global_menu
|
||||
global_menu(False)
|
||||
|
||||
@@ -819,6 +820,7 @@ if __name__ == "__main__":
|
||||
success_flag = True
|
||||
whitelist_setup()
|
||||
elif arg_count == 1 and arguments[0] == 'tweak':
|
||||
success_flag = True
|
||||
from stweak import global_menu
|
||||
global_menu(False)
|
||||
elif arg_count > 2 and arguments[1] in ('add', 'del'):
|
||||
|
||||
+1
-1
@@ -88,7 +88,7 @@ def install_type():
|
||||
_dev_type = 'server'
|
||||
Path(f"{home}/.config/sshyp/deleted").mkdir(mode=0o700, exist_ok=True)
|
||||
Path(f"{home}/.config/sshyp/whitelist").mkdir(mode=0o700, exist_ok=True)
|
||||
curses_terminate('\nmake sure the ssh service is running and properly configured')
|
||||
curses_terminate('\nmake sure the ssh service is running and properly configured\n')
|
||||
else:
|
||||
_dev_type = 'client'
|
||||
if _install_type == 2:
|
||||
|
||||
Reference in New Issue
Block a user