if grep-q$NODE ~/offline_nodes >/dev/null 2>&1 ;then
echo" and $NODE already marked as offline, good."
else
echo$NODE>> ~/offline_nodes
echo" so $NODE has (temporarily) been marked as offline now."
irc_message reproducible-builds "$NODE has health problems and has temporarily been marked as offline. To make this permanent, edit jenkins-home/offline_nodes in git."
fi
else
echo"$NODE is doing fine, good."
fi
cd ../..
done
fi
echo"$(date-u) - updating the schroots and pbuilder now..."