Skip to content

Commit

Permalink
Merge branch 'master' of github.com:esl/gproc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulf Wiger committed Sep 30, 2011
2 parents 9c88453 + 983a736 commit 40621c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gproc.erl
Expand Up @@ -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, _) ->
Expand Down

0 comments on commit 40621c1

Please sign in to comment.