diff options
author | Tristan Sloughter <[email protected]> | 2013-02-04 20:30:14 -0600 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-02-04 20:44:40 -0600 |
commit | 2558618906a221ebe3cc4b2582bf59d9d7396de5 (patch) | |
tree | 372f8d01399853160384a8093328ab771137669b /src/rcl_cmd_args.erl | |
parent | 2b20716439dd0f540dbf78cc6eaabf1aa32f8583 (diff) | |
download | relx-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.erl | 2 |
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. |