summaryrefslogtreecommitdiffstats
path: root/vespabase/src/vespa-stop-configserver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vespabase/src/vespa-stop-configserver.sh')
-rwxr-xr-xvespabase/src/vespa-stop-configserver.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/vespabase/src/vespa-stop-configserver.sh b/vespabase/src/vespa-stop-configserver.sh
index 45f9c4a33ed..33532744ae3 100755
--- a/vespabase/src/vespa-stop-configserver.sh
+++ b/vespabase/src/vespa-stop-configserver.sh
@@ -23,8 +23,6 @@ COMMON_ENV=libexec/vespa/common-env.sh
source_common_env () {
if [ "$VESPA_HOME" ] && [ -d "$VESPA_HOME" ]; then
- # ensure it ends with "/" :
- VESPA_HOME=${VESPA_HOME%/}/
export VESPA_HOME
common_env=$VESPA_HOME/$COMMON_ENV
if [ -f "$common_env" ]; then
@@ -60,7 +58,7 @@ findroot
# END environment bootstrap section
-willrun=${VESPA_HOME}libexec/vespa/stop-configserver
+willrun=${VESPA_HOME}/libexec/vespa/stop-configserver
if [ -x $willrun ]; then
echo "Executing $willrun" >&2
exec $willrun