File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ main() {
2222 return 0
2323 fi
2424
25- # TERMUX_APP_AM_SOCKET_SERVER_ENABLED =false is exported by termux-app
25+ # TERMUX_APP__AM_SOCKET_SERVER_ENABLED =false is exported by termux-app
2626 # if server is disabled, so don't try to connect to server if its
2727 # disabled and save a few milliseconds and also warn user.
28- if [[ " $TERMUX_APP_AM_SOCKET_SERVER_ENABLED " == " false" ]]; then
28+ if [[ " $TERMUX_APP__AM_SOCKET_SERVER_ENABLED " == " false" ]]; then
2929 echo " TermuxAm server is not enabled. Make sure \" run-termux-am-socket-server=false\" is not added to the \" ~/.termux/termux.properties\" file" 1>&2
3030 return 1;
3131 fi
@@ -138,11 +138,11 @@ The server is enabled by default and can be disabled by adding
138138file. Changes require termux-app to be force stopped and restarted.
139139
140140The current state of the server can be checked with the
141- TERMUX_APP_AM_SOCKET_SERVER_ENABLED env variable.
141+ TERMUX_APP__AM_SOCKET_SERVER_ENABLED env variable.
142142
143143HELP_EOF
144144
145- echo " TERMUX_APP_AM_SOCKET_SERVER_ENABLED= $TERMUX_APP_AM_SOCKET_SERVER_ENABLED "
145+ echo " TERMUX_APP__AM_SOCKET_SERVER_ENABLED= $TERMUX_APP__AM_SOCKET_SERVER_ENABLED "
146146
147147}
148148
You can’t perform that action at this time.
0 commit comments