From 2f03955b56fa89c67a9d45af6543b82adb4b1f41 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 19 Jun 2016 13:53:40 +0200 Subject: [PATCH] And check for existance, not type too --- 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 2f434d8b..0dc693be 100755 --- a/scripts/debian/link_morgue.sh +++ b/scripts/debian/link_morgue.sh @@ -85,7 +85,7 @@ cd "${PROCESSDIR}" log "Processing ${PROCESSDIR}" find ${PROCESSDIR} -type f | while read mfile; do - if [[ -f ${mfile}.nosnapshot ]]; then + if [[ -e ${mfile}.nosnapshot ]]; then # We know this file does not exist on snapshot, don't check again continue fi -- 2.39.2