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