Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2020 07:45:28 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r358422 - user/pho/stress2/misc
Message-ID:  <202002280745.01S7jSXG077666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Fri Feb 28 07:45:28 2020
New Revision: 358422
URL: https://svnweb.freebsd.org/changeset/base/358422

Log:
  Return fsck error code.

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

Modified: user/pho/stress2/misc/rename5.sh
==============================================================================
--- user/pho/stress2/misc/rename5.sh	Fri Feb 28 07:44:51 2020	(r358421)
+++ user/pho/stress2/misc/rename5.sh	Fri Feb 28 07:45:28 2020	(r358422)
@@ -65,10 +65,10 @@ while mount | grep -q md${mdstart}$part; do
 	umount $mntpoint || sleep 1
 done
 
-checkfs /dev/md${mdstart}$part
+checkfs /dev/md${mdstart}$part; s=$?
 
 mdconfig -d -u $mdstart
-exit 0
+exit $s
 EOF
 #include <sys/stat.h>
 #include <sys/wait.h>



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