Return error code to parent process.
This commit is contained in:
parent
e873a624eb
commit
b910e5471d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=18904
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
|||
# 2 - failure in CVS operations
|
||||
# 3 - failure in make operations
|
||||
#
|
||||
# $FreeBSD: www/tools/webupdate,v 1.8 2001/08/31 17:38:41 dd Exp $
|
||||
# $FreeBSD: www/tools/webupdate,v 1.9 2001/08/31 17:39:07 dd Exp $
|
||||
#
|
||||
|
||||
#
|
||||
|
@ -123,7 +123,7 @@ cd $BUILDDIR/www/en || exit 1;
|
|||
time make ${BUILDARGS} all >> $LOGFILE 2>&1 &&
|
||||
time make ${INSTARGS} DESTDIR=$DESTDIR install >> $LOGFILE 2>&1 ||
|
||||
(tail -50 $LOGFILE |
|
||||
mail -s "FreeBSD web build failed on `hostname`" $WEBMAILTO &&
|
||||
exit 3);
|
||||
mail -s "FreeBSD web build failed on `hostname`" $WEBMAILTO;
|
||||
exit 3) || exit 3;
|
||||
|
||||
exit 0;
|
||||
|
|
Loading…
Reference in a new issue