Fixed menu options not related to extension management throwing errors

Former-commit-id: a6d55fa0f2e072d823b13ac69f8ff27251b3f3c0
Former-commit-id: 847eeb222459802dc3b8ac778c6b89243048fa4f
This commit is contained in:
2023-07-06 12:17:43 -04:00
parent 25d0ef5a21
commit 95cc769c23
+1 -1
View File
@@ -494,7 +494,7 @@ def global_menu(_device_type, _top_message):
_exit_signal = True
curses_terminate(_term_message)
# if root is needed for extension management...
if _ext_name:
if _choice == 7 and _ext_name:
if _action:
# install with privilege escalation (outside of curses)
from tempfile import gettempdir