aboutsummaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-16 18:05:57 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-16 18:05:57 +0200
commit8eb4df24eb30353bea82268440396e50ed8b1bbc (patch)
treec885ab94952315f64bd596512cd23d0ef5509b3e /src/restore.c
parent2919a5e2c1d33d170bffc93dfeaa6292b9fa3dca (diff)
downloadck-8eb4df24eb30353bea82268440396e50ed8b1bbc.tar.gz
ck-8eb4df24eb30353bea82268440396e50ed8b1bbc.tar.bz2
ck-8eb4df24eb30353bea82268440396e50ed8b1bbc.zip
Fix bugs in test-ck and simplify clparser
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index c90cb82..cb8e6c9 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -14,6 +14,7 @@ int restore_make_links(cklist *from, cklist *to) {
&& list_size(to) > 0
&& list_size(from) == list_size(to)) {
do {
+ HELP("If %d OR %d then file exists.", util_file_exists(list_get(to), NULL), !util_is_file_link(list_get(to)));
if (util_file_exists(list_get(to), NULL)
|| !util_is_file_link(list_get(to))) {
ERR("File %s already exists.", list_get(to));