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

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

Log:
  Return fsck error status.

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

Modified: user/pho/stress2/misc/rename11.sh
==============================================================================
--- user/pho/stress2/misc/rename11.sh	Fri Feb 28 07:45:28 2020	(r358422)
+++ user/pho/stress2/misc/rename11.sh	Fri Feb 28 07:46:35 2020	(r358423)
@@ -59,10 +59,10 @@ while mount | grep "on $mntpoint " | grep -q /dev/md; 
 	umount $mntpoint || sleep 1
 done
 
-checkfs /dev/md${mdstart}$part
+checkfs /dev/md${mdstart}$part; s=$?
 mdconfig -d -u $mdstart
 rm -rf /tmp/rename11
-exit 0
+exit $s
 EOF
 #include <err.h>
 #include <fcntl.h>



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