mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
thin: pass through whole code
Instead of early 'return 0' let the whole code finish in case of an error with syncing.
This commit is contained in:
parent
3a2ada80cb
commit
8a0f9537f1
@ -534,7 +534,7 @@ int update_pool_lv(struct logical_volume *lv, int activate)
|
||||
if (!sync_local_dev_names(lv->vg->cmd)) {
|
||||
log_error("Failed to sync local devices LV %s.",
|
||||
display_lvname(lv));
|
||||
return 0;
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
if (activate &&
|
||||
|
Loading…
Reference in New Issue
Block a user