diff options
-rwxr-xr-x | leap-platform-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/leap-platform-test b/leap-platform-test index dad35e9..195eec5 100755 --- a/leap-platform-test +++ b/leap-platform-test @@ -119,14 +119,14 @@ deploy() { then versions=`versions` msg="From: $MAIL_FROM\nTo: $MAIL_TO\nSubject: Deploy to \"$vm\" had errors !\n\n" - msg="$msg \n$versions \n\n`cat $ERRLOG1`" + msg="$msg \n$versions \n\nOutput of error log below:\n\n `cat $ERRLOG1`" echo "Deploy to \"$vm\" on `date` had errors." | tee -a $LOG1 $LOG2 $ERRLOG2 echo cat $ERRLOG1 if [ "$MAIL_TO" != '' ]; then echo "Sending this mail to $MAIL_TO:" - printf "$msg" | sendmail -t + printf "$msg" | /usr/sbin/sendmail -t fi else |