소스 검색

Fix shell node startup

pull/1178/head
Carlos Gonzalez 9 년 전
부모
커밋
66aa49c186
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      src/rebar_prv_shell.erl

+ 4
- 0
src/rebar_prv_shell.erl 파일 보기

@ -108,6 +108,10 @@ shell(State) ->
simulate_proc_lib(),
true = register(rebar_agent, self()),
{ok, GenState} = rebar_agent:init(State),
%% Hack to fool the init process into thinking we have stopped and the normal
%% node start process can go on. Without it, init:get_status() always return
%% '{starting, started}' instead of '{started, started}'
init ! {'EXIT', self(), normal},
gen_server:enter_loop(rebar_agent, [], GenState, {local, rebar_agent}, hibernate).
info() ->

불러오는 중...
취소
저장