From: Daniel Knittl-Frank Date: Mon, 21 May 2012 14:52:04 +0000 (+0200) Subject: Do not exit gc script when creating hard links fails X-Git-Url: https://repo.or.cz/w/girocco.git/commitdiff_plain/4b6972612b684a0b739cc223bafffec3a7a1d687 Do not exit gc script when creating hard links fails This is important, so that fixupd's queue gets written to, regardsless of previous errors. Otherwise file ownership might get stuck as *:nogroup. --- diff --git a/jobd/gc.sh b/jobd/gc.sh index e062ca4..036c7c7 100755 --- a/jobd/gc.sh +++ b/jobd/gc.sh @@ -28,7 +28,7 @@ if [ -d "../$forkdir" ]; then for d in objects/?? objects/pack; do [ "$d" != "objects/??" ] || continue mkdir -p "$cfg_reporoot/$fork.git/$d" - ln -f "$d"/* "$cfg_reporoot/$fork.git/$d" + ln -f "$d"/* "$cfg_reporoot/$fork.git/$d" ||: done # fixup project permissions