源战役
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
340 B

#!/usr/bin/env escript
%% -*- erlang -*-
%% @doc 配置检测脚本
-include("../include/common.hrl").
main(_) ->
io:setopts([{encoding, utf8}]),
code:add_path("../ebin/"),
case catch check:main([]) of
ok ->
halt(1);
Error ->
?PRINT("error data:~p~n", [Error]),
?ERR("error data:~p~n", [Error]),
halt(127)
end.