Use continue instead of return, continue allows the loop to continue from the beginning instead of jumping completely out of the function.

This commit is contained in:
Thomas Pegg 2008-10-06 16:27:36 +00:00
parent aca70fdd7a
commit 134572c8e7

View file

@ -76,8 +76,8 @@ get_sources() { # Download file, write name to MISSING_FILES.DMP if
fi
# Deal with udev and bootscripts m5sum issue
[[ $BOOKMD5 = "BOOTSCRIPTS-MD5SUM" ]] && return
[[ $BOOKMD5 = "UDEV-MD5SUM" ]] && return
[[ $BOOKMD5 = "BOOTSCRIPTS-MD5SUM" ]] && continue
[[ $BOOKMD5 = "UDEV-MD5SUM" ]] && continue
# IF the md5sum does not match the existing files
if ! echo "$MD5" | md5sum -c - >/dev/null ; then