From 33d3f09ffde14bdd0386a7fc8c207025b01dd361 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sun, 26 Mar 2023 14:14:32 +0200 Subject: [PATCH] btrbk: action_cp: dont fail on rw subvols if recursive --- btrbk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/btrbk b/btrbk index 6c53b99..407fef5 100755 --- a/btrbk +++ b/btrbk @@ -6055,7 +6055,8 @@ MAIN: unless($svol->{node}{readonly}) { WARN "Subvolume is not read-only, skipping: $svol->{PRINT}"; - $exit_status = 10; + $exit_status = 10 unless($recursive); + next; } my $dvol = $svol->{SUBVOL_DIR} ? vinfo($droot->{URL} . "/" . $svol->{SUBVOL_DIR}, $droot->{CONFIG}) : $droot;