Only print sh/2 options on debug log level

This commit is contained in:
Tuncer Ayaz 2012-01-29 17:55:30 +01:00
parent 194f3caa3f
commit 440fa6bd31

View file

@ -88,8 +88,8 @@ wordsize() ->
%% Val = string() | false %% Val = string() | false
%% %%
sh(Command0, Options0) -> sh(Command0, Options0) ->
?INFO("sh info:\n\tcwd: ~p\n\tcmd: ~s\n\topts: ~p\n", ?INFO("sh info:\n\tcwd: ~p\n\tcmd: ~s\n", [get_cwd(), Command0]),
[get_cwd(), Command0, Options0]), ?DEBUG("\topts: ~p\n", [Options0]),
DefaultOptions = [use_stdout, abort_on_error], DefaultOptions = [use_stdout, abort_on_error],
Options = [expand_sh_flag(V) Options = [expand_sh_flag(V)