From f2b5d4eadf3c59dea34811f523232ed9c6858e82 Mon Sep 17 00:00:00 2001 From: Saverio Miroddi Date: Sun, 25 Apr 2021 22:31:25 +0200 Subject: [PATCH] Shellcheck cosmetix fixes --- install-zfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-zfs.sh b/install-zfs.sh index 4068124..dc67dec 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -487,7 +487,8 @@ export ZFS_FREE_TAIL_SPACE=$v_free_tail_space" # Convenient ready exports (selecting the first two disks): # - local ready=" + # shellcheck disable=SC2155,SC2012 + local _=" export ZFS_USE_PPA= export ZFS_SELECTED_DISKS=$(ls -l /dev/disk/by-id/ | perl -ane 'print "/dev/disk/by-id/@F[8]," if ! /\d$/ && ($c += 1) <= 2' | head -c -1) export ZFS_BOOT_PARTITION_SIZE=2048M