Skip to content

Commit

Permalink
Skip slave node stop (if necessary)
Browse files Browse the repository at this point in the history
  • Loading branch information
k4t3r1n4 committed Feb 19, 2015
1 parent a32408c commit d5dc2e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion suite/run_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ main() ->
file:close(MF),

%% Stop the slaves.
lists:foreach(fun(Slave)-> slave:stop(Slave) end, Slaves)
case SkipSlaveSetup of
false -> lists:foreach(fun(Slave)-> slave:stop(Slave) end, Slaves);
true -> ok
end

catch
E:D ->
Expand Down

0 comments on commit d5dc2e1

Please sign in to comment.