And check for existance, not type too
authorJoerg Jaspert <joerg@debian.org>
Sun, 19 Jun 2016 11:53:40 +0000 (13:53 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 19 Jun 2016 11:53:40 +0000 (13:53 +0200)
scripts/debian/link_morgue.sh

index 2f434d8..0dc693b 100755 (executable)
@@ -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