Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:esl/gproc

  • Loading branch information...
commit 40621c1f1a92981c288b262a193217138657fe63 2 parents 9c88453 + 983a736
Ulf Wiger authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gproc.erl
View
4 src/gproc.erl
@@ -475,12 +475,12 @@ try_alternative(app_env, App, Key, _Scope) ->
end;
try_alternative(os_env, _App, Key, _) ->
case os:getenv(os_env_key(Key)) of
- "" -> undefined;
+ false -> undefined;
Val -> {ok, Val}
end;
try_alternative({os_env, Key}, _, _, _) ->
case os:getenv(Key) of
- "" -> undefined;
+ false -> undefined;
Val -> {ok, Val}
end;
try_alternative(init_arg, _, Key, _) ->
Please sign in to comment.
Something went wrong with that request. Please try again.