diff --git a/doc/examples/hooks/ethers b/doc/examples/hooks/ethers index 4de44fd1fc250365a3bd33eae614e9061bb3086e..469af6b25a0b409ee8ab9cc52fd3c6e2de87f113 100755 --- a/doc/examples/hooks/ethers +++ b/doc/examples/hooks/ethers @@ -51,10 +51,10 @@ acquire_lockfile() { while ! ( set -o noclobber; echo "$$" > $LOCKFILE) 2> /dev/null ; do NOW=$(date +%s) if [ $NOW -ge $TIMEOUT ]; then - echo "Cannot acquire lockfile for ethers update, giving up" + logger -s "Cannot acquire lockfile for ethers update, giving up" exit 1 fi - echo "Cannot acquire lockfile for ethers update, waiting" + logger -s "Cannot acquire lockfile for ethers update, waiting" sleep $LOCKSLEEP done trap "rm -f $LOCKFILE" EXIT