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).
|
# 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 \
|
zpool create \
|
||||||
"${encryption_options[@]}" \
|
"${encryption_options[@]}" \
|
||||||
"${v_rpool_tweaks[@]}" \
|
"${v_rpool_tweaks[@]}" \
|
||||||
@ -944,6 +946,7 @@ function create_pools {
|
|||||||
|
|
||||||
# `-d` disable all the pool features (not used here);
|
# `-d` disable all the pool features (not used here);
|
||||||
#
|
#
|
||||||
|
# shellcheck disable=SC2086 # see above
|
||||||
zpool create \
|
zpool create \
|
||||||
"${v_bpool_tweaks[@]}" \
|
"${v_bpool_tweaks[@]}" \
|
||||||
-O devices=off -O mountpoint=/boot -R "$c_zfs_mount_dir" -f \
|
-O devices=off -O mountpoint=/boot -R "$c_zfs_mount_dir" -f \
|
||||||
|
Loading…
Reference in New Issue
Block a user