Skip to content

Commit

Permalink
bee-cache-update: Fix missing return after cachedir cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Jul 31, 2012
1 parent 5fb93ce commit c4ffb40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bee-cache-update.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}.."
Expand Down

0 comments on commit c4ffb40

Please sign in to comment.