Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 10:36:36 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r264755 - user/pho/stress2/misc
Message-ID:  <201404221036.s3MAaae9069035@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Tue Apr 22 10:36:36 2014
New Revision: 264755
URL: http://svnweb.freebsd.org/changeset/base/264755

Log:
  Stop on compile error.
  
  Sponsored by:	EMC / Isilon storage division

Modified:
  user/pho/stress2/misc/kinfo.sh

Modified: user/pho/stress2/misc/kinfo.sh
==============================================================================
--- user/pho/stress2/misc/kinfo.sh	Tue Apr 22 10:35:10 2014	(r264754)
+++ user/pho/stress2/misc/kinfo.sh	Tue Apr 22 10:36:36 2014	(r264755)
@@ -37,7 +37,7 @@
 odir=`pwd`
 cd /tmp
 sed '1,/^EOF/d' < $odir/$0 > kinfo.c
-cc -o kinfo -Wall kinfo.c -lutil
+cc -o kinfo -Wall kinfo.c -lutil || exit 1
 rm -f kinfo.c
 
 mount | grep -q procfs || mount -t procfs procfs /proc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404221036.s3MAaae9069035>