From b8cf38c05d4c73710bbdf9a14a0a80a90c3bf925 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Tue, 24 Feb 2015 13:00:51 +0100 Subject: [PATCH] Remove duplicated isset function stackrc defines the isset function, but this function is already declared in functions-common. The stackrc sources the `functions` which sources the `functions-common`. Change-Id: I0772c42d049833334107c2e6da3700e544ce094f --- stackrc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/stackrc b/stackrc index e084d94d7c..2bbe47c613 100644 --- a/stackrc +++ b/stackrc @@ -43,14 +43,6 @@ REGION_NAME=${REGION_NAME:-RegionOne} # enable_service q-meta # # Optional, to enable tempest configuration as part of devstack # enable_service tempest -function isset { - local nounset=$(set +o | grep nounset) - set +o nounset - [[ -n "${!1+x}" ]] - result=$? - $nounset - return $result -} # this allows us to pass ENABLED_SERVICES if ! isset ENABLED_SERVICES ; then