Skip to content
Snippets Groups Projects

D-Day fixes

Merged Alex Iribarren requested to merge d-day into master
2 files
+ 7
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
1
@@ -284,7 +284,7 @@ savelog() {
# Return rsync version
rsync_protocol() {
RSYNC_VERSION="$(${RSYNC} --version)"
RSYNC_REGEX="(protocol[ ]+version[ ]+([0-9]+))"
RSYNC_REGEX="(protocol[ ]+version[ ]+([0-9]+))"
if [[ ${RSYNC_VERSION} =~ ${RSYNC_REGEX} ]]; then
echo ${BASH_REMATCH[2]}
fi
@@ -362,6 +362,8 @@ join_by() {
# Sends mail
# mailf [-a attachment] [-b body] [-s subject] to-addr ...
mailf() {
# CERN: Don't bother sending emails
return
local boundary="==--$RANDOM--$RANDOM--$RANDOM--=="
local attachment=()
local body=()
Loading