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

finetune log status

parent 199161eb
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.
Please register or to comment