Browse Source

lvm: silence errors from "lvm dumpconfig"

if the config option does not exist, we ignore the error anyway
master
Harald Hoyer 9 years ago
parent
commit
4916bf1a58
  1. 2
      modules.d/90lvm/module-setup.sh

2
modules.d/90lvm/module-setup.sh

@ -73,7 +73,7 @@ install() { @@ -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

Loading…
Cancel
Save