aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/test_server_ctrl.erl
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-26 08:26:44 +0200
committerZandra Hird <[email protected]>2016-06-07 14:30:03 +0200
commite40fc2047fcb966be8292b765fb50c8d40d1d5f7 (patch)
tree66f52e0da59d9df4a21828bb72d2b9cb743541d8 /lib/common_test/src/test_server_ctrl.erl
parent649570eda7789f96aeb1c776e3c0dfbd0e4670a2 (diff)
downloadotp-e40fc2047fcb966be8292b765fb50c8d40d1d5f7.tar.gz
otp-e40fc2047fcb966be8292b765fb50c8d40d1d5f7.tar.bz2
otp-e40fc2047fcb966be8292b765fb50c8d40d1d5f7.zip
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.erl4
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