Commit 012ca969 authored by Joerg Jaspert's avatar Joerg Jaspert 🇩🇪

Somethings breaking on the cur call, sometimes. Log it, so we see what.

parent 8df79bc9
......@@ -112,13 +112,13 @@ while read mfile; do
# If we run wherever, use curl and the http interface
if curl --fail --silent --max-time 120 --head ${FARMURL}/${mshasum} >/dev/null; then
if out=$(curl --fail --silent --max-time 120 --head ${FARMURL}/${mshasum}); then
# Yes, lets symlink it
# Yay for tons of dangling symlinks, but when this is done a rsync
# will run and transfer the whole shitload of links over to the morgue host.
ln -sf "${FARMBASE}/${LVL1}/${LVL2}/${mshasum}" "${mfile}"
touch "${mfile}.nosnapshot" || true
echo $out > "${mfile}.nosnapshot" || true
done # for mfile in...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment