diff --git a/lib/format_text/archiver.c b/lib/format_text/archiver.c index 3d291c8f8..e0212a216 100644 --- a/lib/format_text/archiver.c +++ b/lib/format_text/archiver.c @@ -261,7 +261,9 @@ int backup_remove(struct cmd_context *cmd, const char *vg_name) /* * Let this fail silently. */ - unlink(path); + if (unlink(path)) + log_sys_debug("unlink", path); + return 1; }