From 990ddca5415d196bf7543a57a86aa47da13706c6 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Wed, 13 Sep 2017 16:32:58 +0200 Subject: cdv: Warn about unsafe crashdump Warn the user if the node executing the crashdump viewer potentially could overwrite the crashdump under inspection. --- lib/observer/src/crashdump_viewer.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/observer/src/crashdump_viewer.erl') diff --git a/lib/observer/src/crashdump_viewer.erl b/lib/observer/src/crashdump_viewer.erl index b01c3a1bac..95e12887cd 100644 --- a/lib/observer/src/crashdump_viewer.erl +++ b/lib/observer/src/crashdump_viewer.erl @@ -205,7 +205,8 @@ do_script_start(StartFun) -> io:format("\ncdv crash: ~tp\n",[Reason]) end; _ -> - io:format("\ncdv crash: ~p\n",[unknown_reason]) + %io:format("\ncdv crash: ~p\n",[unknown_reason]) + ok end; Error -> io:format("\ncdv start failed: ~tp\n",[Error]) -- cgit v1.2.3