aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c
index 59343ab..186bf9d 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -48,7 +48,7 @@ int run_ADD(UserOpt * opt, Conf *conf) {
case ADD_NO_ERR:
break;
case ADD_ERR_WRONG_CONFIG:
- PRINT_ERR("The config file specified doesn't exist.");
+ PRINT_ERR("The config file specified doesn't exist or is a link.");
goto error;
case ADD_ERR_WRONG_FLAGS:
PRINT_ERR("Flags are: -s for secret and -p for primary.");
@@ -114,7 +114,7 @@ int run_EDIT(UserOpt *opt, Conf *conf) {
char confName[STR_M];
int secret = 0;
if (edit_get_prime_config_from_program(&db, list_get(opt->args), confName, &secret) == 1) {
- str_join_dirname_with_basename(confPath, secret ? conf->SCRT_dir : conf->VC_dir, confName);
+ str_join_dirname_with_basename(confPath, secret ? conf->scrt_dir : conf->vc_dir, confName);
printf("%s\n", confPath);
} else {
PRINT_ERR("No primary config");