diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-11-20 13:49:36 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-11-20 13:49:36 +0200 |
commit | da31bfd28301d63571eccb4abdd6b0a65b05c621 (patch) | |
tree | 33e0054d00927bd9dcfaabad41fdea53624c7b8e /src/restore.c | |
parent | 78ee1c72c670a71bfd165448676fc65bff802916 (diff) | |
download | ck-da31bfd28301d63571eccb4abdd6b0a65b05c621.tar.gz ck-da31bfd28301d63571eccb4abdd6b0a65b05c621.tar.bz2 ck-da31bfd28301d63571eccb4abdd6b0a65b05c621.zip |
Add export action, fix util_is_link bug
Diffstat (limited to 'src/restore.c')
-rw-r--r-- | src/restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c index 3aff790..a18f906 100644 --- a/src/restore.c +++ b/src/restore.c @@ -23,7 +23,7 @@ static int restore_make_links(cklist *from, cklist *to) { && list_size(from) == list_size(to)) { do { if (util_file_exists(list_get(to), NULL) - || !util_is_file_link(list_get(to))) { + || util_is_file_link(list_get(to))) { ERR("File %s already exists.", list_get(to)); sERR("No links were created."); return -1; |