X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Flibvirt.c;h=bcbf0e6ad51a5527df6b9a74a6a7322bd916881c;hp=6f9e5f126d497b44ef2c42e2cd437cae3f5a1b49;hb=0d5c879672770e3b8a740727fb223a6febdeaa27;hpb=53f791cb6b55512101a0a0f42f9d91c356fa9591 diff --git a/src/libvirt.c b/src/libvirt.c index 6f9e5f12..bcbf0e6a 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -187,9 +187,7 @@ lv_config (const char *key, const char *value) } 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);