aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
diff options
context:
space:
mode:
authorAndrzej Telezynski <[email protected]>2011-07-22 22:31:27 +0200
committerHenrik Nord <[email protected]>2011-08-30 15:22:19 +0200
commitb61018453100ad669a625fceaace488752978e73 (patch)
tree07dca96205a35377695416b0edb2ebd9d9b62e75 /lib/observer/src
parente59866033b98e5b790850fa6f14d6bbe50c9c6a6 (diff)
downloadotp-b61018453100ad669a625fceaace488752978e73.tar.gz
otp-b61018453100ad669a625fceaace488752978e73.tar.bz2
otp-b61018453100ad669a625fceaace488752978e73.zip
Stop option 'return' changed to 'return_fetch_dir'
Diffstat (limited to 'lib/observer/src')
-rw-r--r--lib/observer/src/ttb.erl6
1 files changed, 3 insertions, 3 deletions
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)]),