summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Faaland <[email protected]>2020-03-11 10:02:23 -0700
committerGitHub <[email protected]>2020-03-11 10:02:23 -0700
commit61871518dd6703a59a676042a152aa54a30aea10 (patch)
treeff278ab4827097df4f8168e20ad4f73ab643ba9c
parentddd9ef3a4fab1eed3ed7c32900fc7f9474f2929b (diff)
zloop.sh should call ZDB with pool name
Commit 54007c79 introduced an error, changing the final argument to $ZDB from ztest to $ZTEST. This argument indicates the pool name, not the script, and so should not have been changed. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Olaf Faaland <[email protected]> Closes #10118
-rwxr-xr-xscripts/zloop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/zloop.sh b/scripts/zloop.sh
index ae10617f6..3d9baaf0e 100755
--- a/scripts/zloop.sh
+++ b/scripts/zloop.sh
@@ -118,7 +118,7 @@ function store_core
foundcrashes=$((foundcrashes + 1))
# zdb debugging
- zdbcmd="$ZDB -U "$workdir/zpool.cache" -dddMmDDG $ZTEST"
+ zdbcmd="$ZDB -U "$workdir/zpool.cache" -dddMmDDG ztest"
zdbdebug=$($zdbcmd 2>&1)
echo -e "$zdbcmd\n" >>ztest.zdb
echo "$zdbdebug" >>ztest.zdb