aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-09-20 11:11:16 +0200
committerLukas Larsson <[email protected]>2011-09-20 16:01:40 +0200
commitb7271367289625d5d2d22d95e1170c0cc26c07af (patch)
treec373450d6805718f76d82c220080c2844235944b /lib/common_test
parent8906e44ddafe608d25c509d9adbc523b8f055ab7 (diff)
downloadotp-b7271367289625d5d2d22d95e1170c0cc26c07af.tar.gz
otp-b7271367289625d5d2d22d95e1170c0cc26c07af.tar.bz2
otp-b7271367289625d5d2d22d95e1170c0cc26c07af.zip
Correct wrong match from lists:keyfind
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/cth_log_redirect.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/cth_log_redirect.erl b/lib/common_test/src/cth_log_redirect.erl
index 54e86e2b95..14663b7738 100644
--- a/lib/common_test/src/cth_log_redirect.erl
+++ b/lib/common_test/src/cth_log_redirect.erl
@@ -71,7 +71,7 @@ handle_event({_Type, GL, _Msg}, State) when node(GL) /= node() ->
{ok, State};
handle_event(Event, LogFunc) ->
case lists:keyfind(sasl, 1, application:which_applications()) of
- undefined ->
+ false ->
sasl_not_started;
_Else ->
{ok, ErrLogType} = application:get_env(sasl, errlog_type),