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

Merge branch '6877_final_status_in_log' into 'master'

finetune log status

See merge request !11
parents d10d8b56 66e78d1a
No related branches found
No related tags found
1 merge request!11finetune log status
......@@ -36,8 +36,7 @@ for myprofile in $( getprofiles )
do
iCount+=1
logfile=$( ls -tr1 ${logdir}/${myprofile}__* | tail -1 )
lastline=$( tail -1 ${logfile} )
if grep "^OK:" <<< $lastline >/dev/null; then
if grep "^OK: ${myprofile}$" $logfile >/dev/null; then
echo "OK: $myprofile - $logfile"
else
iErrors+=1
......
......@@ -290,6 +290,7 @@ function deploy(){
cd $( dirname $0 )
header "Installer Status"
echo "OK: ${IMLCI_PROJECT}"
}
......
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