summaryrefslogtreecommitdiffstats
path: root/cmd/zpool
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zpool')
-rwxr-xr-xcmd/zpool/zpool.d/smart2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool.d/smart b/cmd/zpool/zpool.d/smart
index bd18e9d04..874528d66 100755
--- a/cmd/zpool/zpool.d/smart
+++ b/cmd/zpool/zpool.d/smart
@@ -75,7 +75,7 @@ if [ -b "$VDEV_UPATH" ] && [ -x "$smartctl_path" ] || [ -n "$samples" ] ; then
if [ -n "$samples" ] ; then
# cat a smartctl output text file instead of running smartctl
# on a vdev (only used for developer testing).
- file=$(get_filename_from_dir $samples)
+ file=$(get_filename_from_dir "$samples")
echo "file=$file"
raw_out=$(cat "$samples/$file")
else