From 26d6fed3b381dfdeebbbcb7397266334a0c46038 Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Mon, 4 May 2020 19:15:31 +0200 Subject: [PATCH] Minor Shellcheck correction --- install-zfs.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install-zfs.sh b/install-zfs.sh index 2807293..acdf3b6 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -902,11 +902,12 @@ function create_pools { # # Stdin is ignored if the encryption is not set (and set via prompt). # - cat "$c_passphrase_named_pipe" | zpool create \ + zpool create \ "${encryption_options[@]}" \ "${v_rpool_tweaks[@]}" \ -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); #