From: Thomas Goirand Date: Sat, 16 Mar 2013 06:07:39 +0000 (+0800) Subject: Checks RET=NOT_FOUND after pkgos_inifile get when detecting default vg X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fdbb4f943f1652f847f75423e3ef913338c4b822;p=openstack-build%2Fcinder-build.git Checks RET=NOT_FOUND after pkgos_inifile get when detecting default vg --- diff --git a/debian/cinder-common.config.in b/debian/cinder-common.config.in index 4dc16f22a..7c8c3f967 100644 --- a/debian/cinder-common.config.in +++ b/debian/cinder-common.config.in @@ -30,7 +30,7 @@ pkgos_read_admin_creds ${CINDER_API} filter:authtoken cinder manage_cinder_enable pkgos_inifile get ${CINDER_CONF} DEFAULT volume_group -if [ -n "${RET}" ] ; then +if [ -n "${RET}" ] && [ ! "${RET}" = "NOT_FOUND" ] ; then db_set cinder/volume_group "${RET}" else db_get cinder/volume_group