Skip to content

Commit

Permalink
add snapper 0.11.0 support automorphism88#34
Browse files Browse the repository at this point in the history
  • Loading branch information
nix committed Nov 15, 2024
1 parent 20fee73 commit daac842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapraid-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

readonly COPYRIGHT_YEARS='2017-2023'
readonly COPYRIGHT_YEARS='2017-2024'
readonly DEFAULT_CONFIG_FILE=/etc/snapraid.conf
readonly DEFAULT_SNAPPER_CONFIG_DIR=/etc/snapper/configs
readonly DEFAULT_TMPDIR=/tmp
Expand Down Expand Up @@ -687,7 +687,7 @@ find_configs_try() {
config="$1"
found=
if subvol="$("$my_snapper" -c "$config" get-config 2>/dev/null |
sed -e '/^SUBVOLUME /!d' -e 's/^SUBVOLUME[ ]*| //')"
sed -e '/^SUBVOLUME /!d' -e 's/^SUBVOLUME[ ]*[|│] //')"
then
while IFS=$' \t' read -r field1 field2 field3 ; do
if [[ "$field1" =~ ^(data|disk)$ ]] &&
Expand Down

0 comments on commit daac842

Please sign in to comment.