提交 789b6808 编写于 作者: J Joerg Jaspert

And another case of "shutup, cron"

上级 d67a55ff
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册