From cf035f132d13f8986a6a99a766e12aed2eeb6a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Sch=C3=B6ning?= Date: Sun, 24 Jul 2022 19:28:33 +0200 Subject: [PATCH] Disable some checks. --- btrfs-auto-snapshot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/btrfs-auto-snapshot b/btrfs-auto-snapshot index 82bc37f..894a9b1 100755 --- a/btrfs-auto-snapshot +++ b/btrfs-auto-snapshot @@ -388,8 +388,8 @@ btrfs_subvols_calc() local mp_subvols # The mountpoint itself obviously is a subvolume of interest as well already. - # shellcheck disable=SC2190 mp_subvol="${mps[${mp}]}" + # shellcheck disable=SC2190 ret_val+=("${mp}") # The following seems to return relative paths based to the BTRFS root always, @@ -459,6 +459,7 @@ btrfs_subvols_calc() btrfs_wrk_paths_check() { local -r wrk_paths="${1:?No paths given.}" + # shellcheck disable=SC2154 local -r patterns="$(printf "%s\n" "${btrfs_subvols[@]}")" for i in $wrk_paths