diff options
Diffstat (limited to 'src/rebar_otp_app.erl')
-rw-r--r-- | src/rebar_otp_app.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl index e9bf1d3..3fc3606 100644 --- a/src/rebar_otp_app.erl +++ b/src/rebar_otp_app.erl @@ -63,11 +63,11 @@ install(Config, File) -> true -> %% Already exists -- check for force=1 global flag and only %% continue if it's set - case rebar_config:get_global(force, "0") of - "0" -> + case rebar_config:get_global(force, false) of + false -> ?ERROR("~s already exists. Installation failed.\n", [AppId]), ?FAIL; - "1" -> + true -> ?WARN("~s already exists, but forcibly overwriting.\n", [AppId]) end; false -> |