diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index 10fd556..0e612ed 100755 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -270,7 +270,7 @@ snapshot_list() # ignore specific path during run "grub-mkconfig" if [ ! -z "${ignore_specific_path}" ] ; then for isp in ${ignore_specific_path[@]} ; do - [[ "${snap_path_name}" == "${isp}"/* ]] && continue 2; + [[ "${snap_path_name}" == "${isp}" || "${snap_path_name}" == "${isp}"/* ]] && continue 2; done fi