From: Joerg Jaspert Date: Fri, 8 May 2015 08:11:44 +0000 (+0200) Subject: And another case of "shutup, cron" X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=789b6808c823298e5bc56d8de61e1c13bb410382;hp=d67a55ffc497cc5c852618154bc064cb79914c4c And another case of "shutup, cron" --- 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