mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 12:37:46 +00:00
Change condition for exiting back_to function (#1582)
This commit is contained in:
committed by
David Heinemeier Hansson
parent
8356358097
commit
d09b6aa42a
@@ -8,7 +8,7 @@ BACK_TO_EXIT=false
|
|||||||
back_to() {
|
back_to() {
|
||||||
local parent_menu="$1"
|
local parent_menu="$1"
|
||||||
|
|
||||||
if [[ "$DIRECT_ACCESS" == "true" ]]; then
|
if [[ "$BACK_TO_EXIT" == "true" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
elif [[ -n "$parent_menu" ]]; then
|
elif [[ -n "$parent_menu" ]]; then
|
||||||
"$parent_menu"
|
"$parent_menu"
|
||||||
|
|||||||
Reference in New Issue
Block a user