From 789b6808c823298e5bc56d8de61e1c13bb410382 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 8 May 2015 10:11:44 +0200 Subject: [PATCH] And another case of "shutup, cron" --- scripts/debian/sync-dd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2