Skip to content

Commit

Permalink
Disable some checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ams-tschoening committed Jul 24, 2022
1 parent 31cda24 commit cf035f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion btrfs-auto-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cf035f1

Please sign in to comment.