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

lvmetad: Fix an obscure error message.

This commit is contained in:
Petr Rockai 2012-07-31 11:43:35 +02:00
parent e0c2211c34
commit 8791d01fee

View File

@ -918,8 +918,7 @@ static response pv_found(lvmetad_state *s, request r)
else { else {
unlock_vg(s, vgid); unlock_vg(s, vgid);
return daemon_reply_simple("failed", "reason = %s", return daemon_reply_simple("failed", "reason = %s",
// FIXME provide meaningful-to-user error message "non-orphan VG without metadata encountered", NULL);
"internal treason!", NULL);
} }
unlock_vg(s, vgid); unlock_vg(s, vgid);
} }