diff --git a/cmd/zpool/zpool.d/smart b/cmd/zpool/zpool.d/smart index bd18e9d0443c..874528d66ec2 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