Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use sudo if not privileged to open socket

  • Loading branch information...
commit a81933e355bb73a927d26a0283fdfadbee58b834 1 parent 6bf791d
@msantos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/procket.erl
View
2  src/procket.erl
@@ -175,7 +175,7 @@ open(Port, Options) when is_integer(Port), is_list(Options) ->
open_1(Port, Options) ->
case open_1(Port, Options, false) of
- {error, eacces} ->
+ {error, Error} when Error == eacces; Error == eperm ->
open_1(Port, Options, true);
Result ->
Result
Please sign in to comment.
Something went wrong with that request. Please try again.