From c4ffb407d337884858cb0a20ab4a376f784eb3b4 Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Tue, 31 Jul 2012 14:02:55 +0200 Subject: [PATCH] bee-cache-update: Fix missing return after cachedir cleanup --- src/bee-cache-update.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bee-cache-update.sh.in b/src/bee-cache-update.sh.in index b0e9b59..3f6f20a 100644 --- a/src/bee-cache-update.sh.in +++ b/src/bee-cache-update.sh.in @@ -48,6 +48,7 @@ function create_pkgbcfile() if [ ! -d "${PKGMETADIR}" ] ; then # cleanup cache if metadir does not exist rm -f "${PKGBCFILE}" "${PKGBCRFILE}" + return 0 elif [ ! -e "${CONTENTFILE}" ] ; then if [ -e "${PKGBCFILE}" ] ; then print_info "moving ${PKGBCFILE} to ${PKGBCRFILE}.."