Skip to content

Commit

Permalink
avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Mar 11, 2015
1 parent 364e00a commit 4f1cfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sh.erl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ run(Command, Args, Log, Cwd) ->
file:write(File, [">>> ", ts(), " exit status: ", integer_to_list(Status), "\n"]),
{done, Status, Log}.

run(Command, Args, Log, Cwd, Env) ->
run(Command, Args, _Log, Cwd, Env) ->
Port = erlang:open_port({spawn_executable, executable(Command)},
[stream, stderr_to_stdout, binary, exit_status,
{args, Args}, {cd, Cwd}, {env, Env}]),
Expand Down

0 comments on commit 4f1cfd9

Please sign in to comment.