Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
unpacked
sync
Commits
7f0d9f63
Commit
7f0d9f63
authored
Feb 05, 2019
by
Simone Mosciatti
Browse files
Remove -t option when sending email
parent
c3740e7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
loop.sh
View file @
7f0d9f63
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment