svn commit: r358423 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Fri Feb 28 07:46:36 UTC 2020
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>
More information about the svn-src-user
mailing list