1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

debug: fail in backup is not traced nor error

This commit is contained in:
Zdenek Kabelac 2017-06-26 23:27:10 +02:00
parent c3e0ef1a5e
commit d444accdbf

View File

@ -2147,8 +2147,8 @@ static int _vg_write_lv_suspend_commit_backup(struct volume_group *vg,
} else if (!(r = vg_commit(vg))) } else if (!(r = vg_commit(vg)))
stack; /* !vg_commit() has implicit vg_revert() */ stack; /* !vg_commit() has implicit vg_revert() */
if (r && do_backup && !backup(vg)) if (r && do_backup)
log_error("Backup of VG %s failed; continuing.", vg->name); backup(vg);
return r; return r;
} }