Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b725f39

Browse files
committed
[bug] don't open new shell when ___X_CMD_XBINEXP_EXIT is set
1 parent af7cf3f commit b725f39

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@
110110
);
111111

112112
___x_cmd_get_start(){
113-
if [ -z "$___X_CMD_ROOT_MOD" ]; then
113+
if [ -n "$___X_CMD_XBINEXP_EXIT" ]; then
114+
___x_cmd_get_log "This installation/upgrade is performed by an external call, so the interactive shell for the new version will not automatically open.";
115+
elif [ -z "$___X_CMD_ROOT_MOD" ]; then
114116
___X_CMD_ROOT_CODE=;
115117
. "$___X_CMD_ROOT/v/$___X_CMD_VERSION/X";
116118
elif [ "${-#*i}" != "$-" ]; then

0 commit comments

Comments
 (0)