X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=scripts%2Fdebian%2Fsync-dd;h=857c68d1f9ccf69c4075bd9a9a020784b715bbad;hp=6c8f0f8eb4980eef1e2603ea5efced552c12bd4a;hb=789b6808c823298e5bc56d8de61e1c13bb410382;hpb=d67a55ffc497cc5c852618154bc064cb79914c4c diff --git a/scripts/debian/sync-dd b/scripts/debian/sync-dd index 6c8f0f8e..857c68d1 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 \ @@ -118,6 +118,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