lvm: silence errors from "lvm dumpconfig"

if the config option does not exist, we ignore the error anyway
master
Harald Hoyer 2015-11-23 11:09:47 +01:00
parent 319867faa8
commit 4916bf1a58
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ install() {
if [ -f /etc/lvm/lvmlocal.conf ]; then
inst_simple -H /etc/lvm/lvmlocal.conf
fi
eval $(lvm dumpconfig global/system_id_source)
eval $(lvm dumpconfig global/system_id_source &>/dev/null)
if [ "$system_id_source" == "file" ]; then
eval $(lvm dumpconfig global/system_id_file)
if [ -f "$system_id_file" ]; then