From 6f76d144997fc98d4b0a14e241c0c2f37a6e34f1 Mon Sep 17 00:00:00 2001 From: Alfonso De Gregorio Date: Sun, 28 Aug 2011 02:40:28 +0200 Subject: Fix R13 compatibility (auto imported monitor/2) --- src/rebar_eunit.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 3bf3796..8fd2ea3 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -562,7 +562,7 @@ reconstruct_app_env_vars([]) -> ok. wait_until_dead(Pid) when is_pid(Pid) -> - Ref = monitor(process, Pid), + Ref = erlang:monitor(process, Pid), receive {'DOWN', Ref, process, _Obj, Info} -> Info -- cgit v1.1