svn commit: r317495 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Thu Apr 27 08:16:53 UTC 2017


Author: pho
Date: Thu Apr 27 08:16:51 2017
New Revision: 317495
URL: https://svnweb.freebsd.org/changeset/base/317495

Log:
  Return error status.
  
  Sponsored by:	Dell EMC Isilon

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

Modified: user/pho/stress2/misc/mmap20.sh
==============================================================================
--- user/pho/stress2/misc/mmap20.sh	Thu Apr 27 07:53:52 2017	(r317494)
+++ user/pho/stress2/misc/mmap20.sh	Thu Apr 27 08:16:51 2017	(r317495)
@@ -46,9 +46,10 @@ rm -f mmap20.c
 cd $odir
 
 /tmp/mmap20
+s=$?
 
 rm -f /tmp/mmap20
-exit
+exit $s
 
 EOF
 #include <sys/types.h>


More information about the svn-src-user mailing list