Skip to content

Commit f222e1b

Browse files
author
Francesco Mazzoli
committed
Exiting when modules can't be found.
1 parent 23a3077 commit f222e1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wait_node

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ main([NodeStr, PidFile]) ->
77
{{module, _}, {module, _}} ->
88
ok;
99
_ ->
10-
io:format("Compile with 'make' before running this script~n")
10+
io:format("Compile with 'make' before running this script~n"),
11+
halt(1)
1112
end,
1213
Node = rabbit_nodes:make(NodeStr),
1314
Pid = rabbit_misc:read_pid_file(PidFile, true),

0 commit comments

Comments
 (0)