1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

lvmetad: improve warning after lvmetad message fails

Make it more consistent with the other similar warning.
This commit is contained in:
David Teigland 2016-04-27 14:49:27 -05:00
parent 3c53acb378
commit 263c1a4db5

2
lib/cache/lvmetad.c vendored
View File

@ -643,7 +643,7 @@ fail:
* commands will not use it until it's been properly repopulated. * commands will not use it until it's been properly repopulated.
*/ */
if (action_modifies) if (action_modifies)
log_error("lvmetad update failed. Restart lvmetad immediately."); log_warn("WARNING: To avoid corruption, restart lvmetad (or disable with use_lvmetad=0).");
return 0; return 0;
} }