aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_cmd_args.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-02-04 20:30:14 -0600
committerTristan Sloughter <[email protected]>2013-02-04 20:44:40 -0600
commit2558618906a221ebe3cc4b2582bf59d9d7396de5 (patch)
tree372f8d01399853160384a8093328ab771137669b /src/rcl_cmd_args.erl
parent2b20716439dd0f540dbf78cc6eaabf1aa32f8583 (diff)
downloadrelx-2558618906a221ebe3cc4b2582bf59d9d7396de5.tar.gz
relx-2558618906a221ebe3cc4b2582bf59d9d7396de5.tar.bz2
relx-2558618906a221ebe3cc4b2582bf59d9d7396de5.zip
fix: specifying config file as argument no longer crashes
Diffstat (limited to 'src/rcl_cmd_args.erl')
-rw-r--r--src/rcl_cmd_args.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcl_cmd_args.erl b/src/rcl_cmd_args.erl
index 973abe3..bfb63b7 100644
--- a/src/rcl_cmd_args.erl
+++ b/src/rcl_cmd_args.erl
@@ -121,7 +121,7 @@ validate_config("") ->
validate_config(Config) ->
case filelib:is_regular(Config) of
true ->
- filename:absname(Config);
+ {ok, filename:absname(Config)};
false ->
?RCL_ERROR({invalid_config_file, Config})
end.