diff options
author | Zandra <zandra@erlang.org> | 2016-05-26 08:26:44 +0200 |
---|---|---|
committer | Zandra Hird <zandra@erlang.org> | 2016-06-07 14:30:03 +0200 |
commit | e40fc2047fcb966be8292b765fb50c8d40d1d5f7 (patch) | |
tree | 66f52e0da59d9df4a21828bb72d2b9cb743541d8 /lib/common_test/src/test_server_ctrl.erl | |
parent | 649570eda7789f96aeb1c776e3c0dfbd0e4670a2 (diff) | |
download | erlang-e40fc2047fcb966be8292b765fb50c8d40d1d5f7.tar.gz |
ct_run: Fix unmatched_return warnings
Diffstat (limited to 'lib/common_test/src/test_server_ctrl.erl')
-rw-r--r-- | lib/common_test/src/test_server_ctrl.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/test_server_ctrl.erl b/lib/common_test/src/test_server_ctrl.erl index ff960c22a5..6bd7122c65 100644 --- a/lib/common_test/src/test_server_ctrl.erl +++ b/lib/common_test/src/test_server_ctrl.erl @@ -294,7 +294,7 @@ start_link(_) -> start() -> case gen_server:start({local,?MODULE}, ?MODULE, [], []) of - {ok, Pid} -> + {error, {already_started, Pid}} -> {ok, Pid}; Other -> Other @@ -302,7 +302,7 @@ start() -> start_link() -> case gen_server:start_link({local,?MODULE}, ?MODULE, [], []) of - {ok, Pid} -> + {error, {already_started, Pid}} -> {ok, Pid}; Other -> Other |