mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
mirror: fix condition
Recent patch tested wrong condition for error
This commit is contained in:
parent
86e7894ecc
commit
68e2ea11a3
@ -73,7 +73,7 @@ static int _get_mirror_event(struct dso_state *state, char *params)
|
||||
unsigned i;
|
||||
struct dm_status_mirror *ms;
|
||||
|
||||
if (dm_get_status_mirror(state->mem, params, &ms))
|
||||
if (!dm_get_status_mirror(state->mem, params, &ms))
|
||||
goto_out;
|
||||
|
||||
/* Check for bad mirror devices */
|
||||
|
Loading…
Reference in New Issue
Block a user