aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-11-21 11:23:03 +0100
committerSiri Hansen <[email protected]>2016-11-21 11:23:03 +0100
commit399242cc00f6dfb32cfe391fc0172b89e93435fb (patch)
treea0d666f81f0dac0229c75f010b22d0796c3f7565 /lib
parent4683b5c227a238ee27f658bdfe2981c4b69acf09 (diff)
downloadotp-399242cc00f6dfb32cfe391fc0172b89e93435fb.tar.gz
otp-399242cc00f6dfb32cfe391fc0172b89e93435fb.tar.bz2
otp-399242cc00f6dfb32cfe391fc0172b89e93435fb.zip
[observer] Start crashdump_viewer in a non-distributed node
The shell script (priv/bin/cdv) and bat file (priv/bin/cdv.bat) which can be used for starting crashdump_viewer both started a distributed erlang node. This would cause any attempt at starting a second instance of the crashdump_viewer to fail. To solve this problem, cdv and cdv.bat now use non-distrubuted nodes when starting the crashdump_viewer.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/observer/priv/bin/cdv2
-rw-r--r--lib/observer/priv/bin/cdv.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/priv/bin/cdv b/lib/observer/priv/bin/cdv
index 1c44785ac2..d14fd47e41 100755
--- a/lib/observer/priv/bin/cdv
+++ b/lib/observer/priv/bin/cdv
@@ -1,4 +1,4 @@
#!/bin/sh
-erl -sname cdv -noinput -s crashdump_viewer script_start $@
+erl -noinput -s crashdump_viewer script_start $@
diff --git a/lib/observer/priv/bin/cdv.bat b/lib/observer/priv/bin/cdv.bat
index efa8bf8687..18136a30d6 100644
--- a/lib/observer/priv/bin/cdv.bat
+++ b/lib/observer/priv/bin/cdv.bat
@@ -1,2 +1,2 @@
@ECHO OFF
-CALL werl -sname cdv -s crashdump_viewer script_start %*
+CALL werl -s crashdump_viewer script_start %*