Shellcheck: Add hint for two cases not requiring quotes
This commit is contained in:
parent
0d6f69bbbd
commit
a490166ada
|
@ -935,6 +935,8 @@ function create_pools {
|
|||
#
|
||||
# Stdin is ignored if the encryption is not set (and set via prompt).
|
||||
#
|
||||
# shellcheck disable=SC2086 # quoting $v_pools_raid_type; barring invalid user input, the values are guaranteed not to
|
||||
# need quoting.
|
||||
zpool create \
|
||||
"${encryption_options[@]}" \
|
||||
"${v_rpool_tweaks[@]}" \
|
||||
|
@ -944,6 +946,7 @@ function create_pools {
|
|||
|
||||
# `-d` disable all the pool features (not used here);
|
||||
#
|
||||
# shellcheck disable=SC2086 # see above
|
||||
zpool create \
|
||||
"${v_bpool_tweaks[@]}" \
|
||||
-O devices=off -O mountpoint=/boot -R "$c_zfs_mount_dir" -f \
|
||||
|
|
Loading…
Reference in New Issue