[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 2f434d8..0dc693b 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.1.4


Reply to: