]> git.decadent.org.uk Git - dak.git/commitdiff
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 2f434d8bfde5e58241b9e861f508bdc82c193e2a..0dc693be845fd6755af0602adc784e8509b8c93f 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