]> git.decadent.org.uk Git - dak.git/commitdiff
dont die if you cant touch a file
authorJoerg Jaspert <joerg@debian.org>
Sun, 19 Jun 2016 11:51:44 +0000 (13:51 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 19 Jun 2016 11:51:44 +0000 (13:51 +0200)
scripts/debian/link_morgue.sh

index b4dec5320bc7275107ad1dd8ef915cf726623ccb..2f434d8bfde5e58241b9e861f508bdc82c193e2a 100755 (executable)
@@ -117,7 +117,7 @@ while read mfile; do
             # will run and transfer the whole shitload of links over to the morgue host.
             ln -sf "${FARMBASE}/${LVL1}/${LVL2}/${mshasum}" "${mfile}"
         else
-            touch "${mfile}.nosnapshot"
+            touch "${mfile}.nosnapshot" || true
         fi
     fi
 done # for mfile in...