@askexenow/exe-os 0.8.99 → 0.8.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/exe-start.sh +1 -1
- package/package.json +1 -1
package/dist/bin/exe-start.sh
CHANGED
|
@@ -59,7 +59,7 @@ if [ "${1:-}" = "go" ]; then
|
|
|
59
59
|
# Only check if we're actually inside tmux (TMUX or TMUX_PANE set).
|
|
60
60
|
# tmux display-message works even outside tmux and returns the last
|
|
61
61
|
# active session, which gives false positives on single-session machines.
|
|
62
|
-
if [ -n "$TMUX" ] || [ -n "$TMUX_PANE" ]; then
|
|
62
|
+
if [ -n "${TMUX:-}" ] || [ -n "${TMUX_PANE:-}" ]; then
|
|
63
63
|
CURRENT_SESSION="$(tmux display-message -p '#{session_name}' 2>/dev/null || true)"
|
|
64
64
|
if [ "$CURRENT_SESSION" = "$SESSION" ]; then
|
|
65
65
|
echo " Already inside ${SESSION}."
|
package/package.json
CHANGED