Skip to content

Commit 388f5aa

Browse files
c4softwaremanuel1618
authored andcommitted
Change condition for exiting back_to function (basecamp#1582)
1 parent f0ee32d commit 388f5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/omarchy-menu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BACK_TO_EXIT=false
88
back_to() {
99
local parent_menu="$1"
1010

11-
if [[ "$DIRECT_ACCESS" == "true" ]]; then
11+
if [[ "$BACK_TO_EXIT" == "true" ]]; then
1212
exit 0
1313
elif [[ -n "$parent_menu" ]]; then
1414
"$parent_menu"

0 commit comments

Comments
 (0)