diff options
author | Lukas Larsson <[email protected]> | 2011-09-20 11:11:16 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-09-20 16:01:40 +0200 |
commit | b7271367289625d5d2d22d95e1170c0cc26c07af (patch) | |
tree | c373450d6805718f76d82c220080c2844235944b | |
parent | 8906e44ddafe608d25c509d9adbc523b8f055ab7 (diff) | |
download | otp-b7271367289625d5d2d22d95e1170c0cc26c07af.tar.gz otp-b7271367289625d5d2d22d95e1170c0cc26c07af.tar.bz2 otp-b7271367289625d5d2d22d95e1170c0cc26c07af.zip |
Correct wrong match from lists:keyfind
-rw-r--r-- | lib/common_test/src/cth_log_redirect.erl | 2 |
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), |