Permalink
Browse files

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

  • Loading branch information...
2 parents 9c88453 + 983a736 commit 40621c1f1a92981c288b262a193217138657fe63 Ulf Wiger committed Sep 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gproc.erl
View
@@ -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, _) ->

0 comments on commit 40621c1

Please sign in to comment.