-if ! btrfs subvolume list /boot | grep "_$distro$" &>/dev/null; then
- echo "$0: error: _$distro$ not found in btrfs subvolume list /boot:"
- btrfs subvolume list /boot
+if ! btrfs subvolume list $mnt | grep "_$distro$" &>/dev/null; then
+ echo "$0: error: _$distro$ not found in btrfs subvolume list $mnt:"
+ btrfs subvolume list $mnt