diff options
Diffstat (limited to 'cmd/zed/zed.d')
-rwxr-xr-x | cmd/zed/zed.d/io-spare.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zed/zed.d/io-spare.sh b/cmd/zed/zed.d/io-spare.sh index 2fcbfb791..b64b2a9f1 100755 --- a/cmd/zed/zed.d/io-spare.sh +++ b/cmd/zed/zed.d/io-spare.sh @@ -54,7 +54,7 @@ flock -x 8 # Given a <pool> and <device> return the status, (ONLINE, FAULTED, etc...). vdev_status() { local POOL=$1 - local VDEV=$2 + local VDEV=`basename $2` local T=' ' # tab character since '\t' isn't portable ${ZPOOL} status ${POOL} | sed -n -e \ |