aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-03-06 16:58:54 +0100
committerLukas Larsson <[email protected]>2017-03-06 16:58:54 +0100
commit455132374162a06df39e1bff4780610ef8e86870 (patch)
treeeac8bf970e518e744d090601d1aac5c911648a16 /erts
parent3300b3059d13cd204f553f0c7d46d784adc5a8ab (diff)
downloadotp-455132374162a06df39e1bff4780610ef8e86870.tar.gz
otp-455132374162a06df39e1bff4780610ef8e86870.tar.bz2
otp-455132374162a06df39e1bff4780610ef8e86870.zip
erts: Only show debug consoles if ERL_CONSOLE_MODE is defined
Diffstat (limited to 'erts')
-rw-r--r--erts/etc/common/erlexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index 2b2e0e480a..ee59759940 100644
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
@@ -1044,7 +1044,7 @@ int main(int argc, char **argv)
start_epmd(epmd_prog);
#if (! defined(__WIN32__)) && defined(DEBUG)
- if (start_detached) {
+ if (start_detached && get_env("ERL_CONSOLE_MODE")) {
/* Start the emulator within an xterm.
* Move up all arguments and insert
* "xterm -e " first.