aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-11-08 10:14:07 +0100
committerSiri Hansen <[email protected]>2017-11-08 10:14:07 +0100
commit3187e4598e68415eda7261ca7301086fde92251d (patch)
tree13f15cddc6dcb96732256ca870300053a2a03f87 /lib
parentee806355a3beff5800bb15f3a931825fe15adcbb (diff)
parentecb7a05eb0f8912ef972489be2b7d648065b51c7 (diff)
downloadotp-3187e4598e68415eda7261ca7301086fde92251d.tar.gz
otp-3187e4598e68415eda7261ca7301086fde92251d.tar.bz2
otp-3187e4598e68415eda7261ca7301086fde92251d.zip
Merge branch 'siri/ct/dont-call-which_applications'
* siri/ct/dont-call-which_applications: [ct] Remove call to application:which_applications()
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/src/cth_log_redirect.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/cth_log_redirect.erl b/lib/common_test/src/cth_log_redirect.erl
index 8b29d0f96d..1c55e17686 100644
--- a/lib/common_test/src/cth_log_redirect.erl
+++ b/lib/common_test/src/cth_log_redirect.erl
@@ -121,8 +121,8 @@ handle_event({_Type,GL,_Msg}, #eh_state{handle_remote_events = false} = State)
when node(GL) /= node() ->
{ok, State};
handle_event(Event, #eh_state{log_func = LogFunc} = State) ->
- case lists:keyfind(sasl, 1, application:which_applications()) of
- false ->
+ case whereis(sasl_sup) of
+ undefined ->
sasl_not_started;
_Else ->
{ok, ErrLogType} = application:get_env(sasl, errlog_type),