mirror of https://github.com/digint/btrbk
btrbk: action_cp: dont fail on rw subvols if recursive
parent
c849edd3cf
commit
33d3f09ffd
3
btrbk
3
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;
|
||||
|
|
Loading…
Reference in New Issue