1
0
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:
Zdenek Kabelac 2015-12-01 13:59:20 +01:00
parent 86e7894ecc
commit 68e2ea11a3

View File

@ -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 */