[dak/master] 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 6c8f0f8..857c68d 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
--
1.7.10.4
Reply to: