update: better handling of the keep files
This commit is contained in:
@ -63,7 +63,7 @@ bool lm_ctx_remove(lm_ctx_t *ctx, lm_entry_t *entry, lm_ctx_remove_callback_t ca
|
||||
fpath = join_alloc(ctx->root, path);
|
||||
pdebug(__func__, "removing file %s (%s)", fpath, entry->name);
|
||||
|
||||
if(!exists(fpath)){
|
||||
if(!exists(fpath, NULL)){
|
||||
pdebug(__func__, "found file in database, but its not on the file system: %s", fpath);
|
||||
goto next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user