X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fsync-dd;h=ba2a2a2a9a22ba165f0ae178deba0ad360cd2643;hb=a00ce8847656fd85e3f23941e637e8816ca6531b;hp=6c8f0f8eb4980eef1e2603ea5efced552c12bd4a;hpb=33233a41d742249ceb0c816c15f2850970ba3634;p=dak.git diff --git a/scripts/debian/sync-dd b/scripts/debian/sync-dd index 6c8f0f8e..ba2a2a2a 100755 --- a/scripts/debian/sync-dd +++ b/scripts/debian/sync-dd @@ -58,7 +58,7 @@ cleanup() { trap cleanup EXIT TERM HUP INT QUIT # Also, NEVER use --delete-excluded! -if lockfile -r3 "${lockfile}"; then +if lockfile -r3 "${lockfile}" 2> /dev/null; then case "${mode}" in sync) rsync -aH -B8192 \ @@ -81,6 +81,7 @@ if lockfile -r3 "${lockfile}"; then --exclude "/scripts/s3kr1t" \ --exclude "/tmp/" \ --exclude "/public/incoming.debian.org" \ + --exclude "/tiffani/" \ --delete --delete-after \ --timeout 3600 \ -e 'ssh -o ConnectTimeout=30 -o SetupTimeout=30' \ @@ -118,6 +119,6 @@ if lockfile -r3 "${lockfile}"; then ;; esac else - echo "Couldn't get the lock, not syncing" + #echo "Couldn't get the lock, not syncing" exit 0 fi