diff options
author | Lukas Larsson <[email protected]> | 2017-03-06 16:58:54 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-03-06 16:58:54 +0100 |
commit | 455132374162a06df39e1bff4780610ef8e86870 (patch) | |
tree | eac8bf970e518e744d090601d1aac5c911648a16 /erts/etc/common/erlexec.c | |
parent | 3300b3059d13cd204f553f0c7d46d784adc5a8ab (diff) | |
download | otp-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/etc/common/erlexec.c')
-rw-r--r-- | erts/etc/common/erlexec.c | 2 |
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. |