svn commit: r332923 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Tue Apr 24 10:07:08 UTC 2018
Author: pho
Date: Tue Apr 24 10:07:07 2018
New Revision: 332923
URL: https://svnweb.freebsd.org/changeset/base/332923
Log:
Style fix.
Sponsored by: Dell EMC Isilon
Modified:
user/pho/stress2/misc/crossmp5.sh
Modified: user/pho/stress2/misc/crossmp5.sh
==============================================================================
--- user/pho/stress2/misc/crossmp5.sh Tue Apr 24 10:05:23 2018 (r332922)
+++ user/pho/stress2/misc/crossmp5.sh Tue Apr 24 10:07:07 2018 (r332923)
@@ -45,7 +45,7 @@ if [ $# -eq 0 ]; then
for i in `jot $mounts`; do
m=$(( i + mdstart - 1 ))
[ ! -d ${mntpoint}$m ] && mkdir ${mntpoint}$m
- mount | grep "${mntpoint}$m" | grep -q md$m &&
+ mount | grep "${mntpoint}$m " | grep -q md$m &&
umount ${mntpoint}$m
mdconfig -l | grep -q md$m && mdconfig -d -u $m
@@ -68,7 +68,7 @@ if [ $# -eq 0 ]; then
mdconfig -d -u $m
rm -f $D$m
done
-
+ exit 0
else
touch /tmp/crossmp.continue
if [ $1 = find ]; then
More information about the svn-src-user
mailing list