fix: Source launcher in current shell instead of subshell - keeps menu interactive
This commit is contained in:
@@ -29,8 +29,8 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run the launcher
|
# Run the launcher (source in current shell, don't execute in subshell)
|
||||||
bash "$SCRIPT_DIR/launcher.sh"
|
source "$SCRIPT_DIR/launcher.sh"
|
||||||
|
|
||||||
# Check if cleanup is requested
|
# Check if cleanup is requested
|
||||||
if [ -f /tmp/.cleanup_requested ]; then
|
if [ -f /tmp/.cleanup_requested ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user