diff --git a/src/libvirt.c b/src/libvirt.c
index 6f9e5f126d497b44ef2c42e2cd437cae3f5a1b49..bcbf0e6ad51a5527df6b9a74a6a7322bd916881c 100644 (file)
--- a/src/libvirt.c
+++ b/src/libvirt.c
}
if (strcasecmp (key, "IgnoreSelected") == 0) {
- if (strcasecmp (value, "True") == 0 ||
- strcasecmp (value, "Yes") == 0 ||
- strcasecmp (value, "On") == 0)
+ if (IS_TRUE (value))
{
ignorelist_set_invert (il_domains, 0);
ignorelist_set_invert (il_block_devices, 0);