From 9c512b85d7ea9060f126732ac240076fa09ae01d Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sun, 10 Mar 2013 17:38:00 +0000 Subject: [PATCH] Pypi mirror wrapper script should abort safely. * modules/pypimirror/templates/run-mirror.sh.erb: Aborting the mirror downloader prematurely should not allow the indexer to start running. This has caused corrupt indexes in the past. Change-Id: I42e3390910909e02c84f3a1d9641b4fc3b004d31 Reviewed-on: https://review.openstack.org/24021 Reviewed-by: Clark Boylan Reviewed-by: Paul Belanger Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- modules/pypimirror/templates/run-mirror.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pypimirror/templates/run-mirror.sh.erb b/modules/pypimirror/templates/run-mirror.sh.erb index a54f349a8a..d19aa03889 100644 --- a/modules/pypimirror/templates/run-mirror.sh.erb +++ b/modules/pypimirror/templates/run-mirror.sh.erb @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # This file is managed by puppet. # https://github.com/openstack-infra/config