aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2014-03-27 14:11:18 +0100
committerPeter Andersson <[email protected]>2014-03-27 14:11:18 +0100
commitfaeddc5145613836447c180da6faebd09194e123 (patch)
tree5c881ee54a87f0b2e001d4ba7655cd072a8d184b /lib
parentbe5ad8be918b803d4224e8d6b17a508d2559b8a1 (diff)
downloadotp-faeddc5145613836447c180da6faebd09194e123.tar.gz
otp-faeddc5145613836447c180da6faebd09194e123.tar.bz2
otp-faeddc5145613836447c180da6faebd09194e123.zip
Fix problem with bad match error after close
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/src/ct_telnet.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl
index 0a067b3a08..bc22a99741 100644
--- a/lib/common_test/src/ct_telnet.erl
+++ b/lib/common_test/src/ct_telnet.erl
@@ -308,7 +308,7 @@ close(Connection) ->
{ok,Pid} ->
log(undefined,close,"Connection closed, handle: ~w",[Pid]),
case ct_gen_conn:stop(Pid) of
- {error,{process_down,Pid,noproc}} ->
+ {error,{process_down,Pid,_}} ->
{error,already_closed};
Result ->
Result