Minor Shellcheck correction
This commit is contained in:
parent
aa76ba0a60
commit
26d6fed3b3
@ -902,11 +902,12 @@ 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).
|
||||||
#
|
#
|
||||||
cat "$c_passphrase_named_pipe" | zpool create \
|
zpool create \
|
||||||
"${encryption_options[@]}" \
|
"${encryption_options[@]}" \
|
||||||
"${v_rpool_tweaks[@]}" \
|
"${v_rpool_tweaks[@]}" \
|
||||||
-O devices=off -O mountpoint=/ -R "$c_zfs_mount_dir" -f \
|
-O devices=off -O mountpoint=/ -R "$c_zfs_mount_dir" -f \
|
||||||
"$v_rpool_name" $rpool_raid_option "${rpool_disks_partitions[@]}"
|
"$v_rpool_name" $rpool_raid_option "${rpool_disks_partitions[@]}" \
|
||||||
|
< "$c_passphrase_named_pipe"
|
||||||
|
|
||||||
# `-d` disable all the pool features (not used here);
|
# `-d` disable all the pool features (not used here);
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user