diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-09-20 22:05:29 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-09-24 10:54:47 +0200 |
commit | 914be0696daf3603b6db055b2afe146190e9a7f7 (patch) | |
tree | ff4c158e20574b8d8c55f9e9248f386fdfece661 | |
parent | bc0a3e23553f8d622a7218ded55ac1fdaa75286c (diff) | |
download | lvm2-914be0696daf3603b6db055b2afe146190e9a7f7.tar.gz |
cleanup: replace error with print message
These are not error messages.
They are informing a user about missconfigured
options which do not change resulting error status.
-rw-r--r-- | lib/activate/activate.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/activate/activate.c b/lib/activate/activate.c index 2a94ea647..4e1ec5fb5 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -125,24 +125,23 @@ static int _lv_passes_volumes_filter(struct cmd_context *cmd, const struct logic if (cv->type == DM_CFG_EMPTY_ARRAY) goto out; if (cv->type != DM_CFG_STRING) { - log_error("Ignoring invalid string in config file %s", - config_path); + log_print_unless_silent("Ignoring invalid string in config file %s.", + config_path); continue; } str = cv->v.str; if (!*str) { - log_error("Ignoring empty string in config file %s", - config_path); + log_print_unless_silent("Ignoring empty string in config file %s.", + config_path); continue; } - /* Tag? */ if (*str == '@') { str++; if (!*str) { - log_error("Ignoring empty tag in config file " - "%s", config_path); + log_print_unless_silent("Ignoring empty tag in config file %s", + config_path); continue; } /* If any host tag matches any LV or VG tag, activate */ |