summaryrefslogtreecommitdiff
path: root/src/rebar.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar.erl')
-rw-r--r--src/rebar.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rebar.erl b/src/rebar.erl
index b7d977f..1f72a4c 100644
--- a/src/rebar.erl
+++ b/src/rebar.erl
@@ -238,9 +238,7 @@ show_info_maybe_halt(O, Opts, F) ->
case proplists:get_bool(O, Opts) of
true ->
F(),
- halt(0),
- %% workaround to delay exit until all output is written
- receive after infinity -> ok end;
+ rebar_utils:delayed_halt(0);
false ->
false
end.