Commit 7f0d9f63 authored by Simone Mosciatti's avatar Simone Mosciatti
Browse files

Remove -t option when sending email

parent c3740e7a
......@@ -15,7 +15,7 @@ do
# if for 3 times was no possible to update the repository we send an email and we exit.
if [ $update_error_count -ge 3 ]; then
echo "" | mail -s "[unpacked.cern.ch] Error on contacting the gitlab repository" -t simone.mosciatti@cern.ch
echo "" | mail -s "[unpacked.cern.ch] Error on contacting the gitlab repository" simone.mosciatti@cern.ch
exit 2;
fi
......@@ -42,7 +42,7 @@ do
echo "Error: $conversion_status"
echo "error_count: $error_count"
if [ $error_count -ge 10 ]; then
echo "" | mail -s "[unpacked.cern.ch] Error on unpacked.cern.ch $conversion_status" -t simone.mosciatti@cern.ch
echo "" | mail -s "[unpacked.cern.ch] Error on unpacked.cern.ch $conversion_status" simone.mosciatti@cern.ch
exit 1
fi
else
......
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