Skip to content
Snippets Groups Projects
Commit 1aec258a authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

check pipestatus

parent 3ee05b61
No related branches found
No related tags found
1 merge request!16check pipestatus
...@@ -394,6 +394,7 @@ test -d "${logdir}" || mkdir -p "${logdir}" ...@@ -394,6 +394,7 @@ test -d "${logdir}" || mkdir -p "${logdir}"
for myprofile in $allprofiles for myprofile in $allprofiles
do do
( deploy $myprofile; logdelete $myprofile ) 2>&1 | tee ${logdir}/${myprofile}__$(date +%Y-%m-%d__%H%M%S).log ( deploy $myprofile; logdelete $myprofile ) 2>&1 | tee ${logdir}/${myprofile}__$(date +%Y-%m-%d__%H%M%S).log
test ${PIPESTATUS[0]} -eq 0 || exit ${PIPESTATUS[0]}
profile= profile=
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment