diff --git a/WHATS_NEW b/WHATS_NEW index e475f6757..2ba8e8555 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.80 - ==================================== + Add backtraces for archive and backup_locally in check_current_backup(). Fix memory leak in debug mode of restart_clvmd() error path. Log error message for pthread_join() failure in clvmd. diff --git a/lib/format_text/archiver.c b/lib/format_text/archiver.c index ef85c6cbf..3d291c8f8 100644 --- a/lib/format_text/archiver.c +++ b/lib/format_text/archiver.c @@ -452,9 +452,12 @@ void check_current_backup(struct volume_group *vg) log_suppress(old_suppress); if (vg_backup) { - archive(vg_backup); + if (!archive(vg_backup)) + stack; free_vg(vg_backup); } - archive(vg); - backup_locally(vg); + if (!archive(vg)) + stack; + if (!backup_locally(vg)) + stack; }