diff options
author | Siri Hansen <[email protected]> | 2017-09-13 16:32:58 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-18 11:07:09 +0200 |
commit | 990ddca5415d196bf7543a57a86aa47da13706c6 (patch) | |
tree | 24764595ab0570174dbcb234a58c82110bc5f8d8 /lib/observer/src/crashdump_viewer.erl | |
parent | 9ee5ad4f99f2540860f5acb357aac6b08d7e494e (diff) | |
download | otp-990ddca5415d196bf7543a57a86aa47da13706c6.tar.gz otp-990ddca5415d196bf7543a57a86aa47da13706c6.tar.bz2 otp-990ddca5415d196bf7543a57a86aa47da13706c6.zip |
cdv: Warn about unsafe crashdump
Warn the user if the node executing the crashdump viewer potentially
could overwrite the crashdump under inspection.
Diffstat (limited to 'lib/observer/src/crashdump_viewer.erl')
-rw-r--r-- | lib/observer/src/crashdump_viewer.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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]) |