aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.