diff options
author | Peter Andersson <[email protected]> | 2014-03-27 14:11:18 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-27 14:11:18 +0100 |
commit | faeddc5145613836447c180da6faebd09194e123 (patch) | |
tree | 5c881ee54a87f0b2e001d4ba7655cd072a8d184b | |
parent | be5ad8be918b803d4224e8d6b17a508d2559b8a1 (diff) | |
download | otp-faeddc5145613836447c180da6faebd09194e123.tar.gz otp-faeddc5145613836447c180da6faebd09194e123.tar.bz2 otp-faeddc5145613836447c180da6faebd09194e123.zip |
Fix problem with bad match error after close
-rw-r--r-- | lib/common_test/src/ct_telnet.erl | 2 |
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 |