From b61018453100ad669a625fceaace488752978e73 Mon Sep 17 00:00:00 2001 From: Andrzej Telezynski Date: Fri, 22 Jul 2011 22:31:27 +0200 Subject: Stop option 'return' changed to 'return_fetch_dir' --- lib/observer/src/ttb.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/observer/src/ttb.erl') diff --git a/lib/observer/src/ttb.erl b/lib/observer/src/ttb.erl index 342826a482..5397799227 100644 --- a/lib/observer/src/ttb.erl +++ b/lib/observer/src/ttb.erl @@ -608,9 +608,9 @@ stop_opts(Opts) -> true -> {format, []}; FOpts -> {format, FOpts} end, - case {FormatData, lists:member(return, Opts)} of + case {FormatData, lists:member(return_fetch_dir, Opts)} of {false, true} -> - {fetch, FetchDir}; % if we specify return, the data should be fetched + {fetch, FetchDir}; % if we specify return_fetch_dir, the data should be fetched {false, false} -> case lists:member(nofetch,Opts) of false -> {fetch, FetchDir}; @@ -630,7 +630,7 @@ ensure_fetch_dir(Dir) -> end. stop_return(R,Opts) -> - case {lists:member(return,Opts),R} of + case {lists:member(return_fetch_dir,Opts),R} of {true,_} -> %%Printout moved out of the ttb loop to avoid occasional deadlock io:format("Stored logs in ~s~n",[element(2, R)]), -- cgit v1.2.3