Minor Shellcheck correction

This commit is contained in:
Saverio Miroddi 2020-05-04 19:15:31 +02:00
parent aa76ba0a60
commit 26d6fed3b3

View File

@ -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);
# #