[dak/master] Don't bother with nosnapshot files
---
scripts/debian/link_morgue.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/debian/link_morgue.sh b/scripts/debian/link_morgue.sh
index c0c90400..42f43056 100755
--- a/scripts/debian/link_morgue.sh
+++ b/scripts/debian/link_morgue.sh
@@ -83,7 +83,7 @@ PROGRAM="link_morgue"
cd "${PROCESSDIR}"
log "Processing ${PROCESSDIR}"
-find ${PROCESSDIR} -type f |
+find ${PROCESSDIR} -name "*.nosnapshot" -prune -o -type f -print |
while read mfile; do
if [[ -e ${mfile}.nosnapshot ]]; then
# We know this file does not exist on snapshot, don't check again
--
2.11.0
Reply to: