mirror of https://github.com/digint/btrbk
btrbk: check target dir in action_cp
parent
38720ee8be
commit
c849edd3cf
5
btrbk
5
btrbk
|
@ -6011,6 +6011,11 @@ MAIN:
|
||||||
url => $droot->{URL},
|
url => $droot->{URL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
unless(system_testdir($droot)) {
|
||||||
|
ERROR "Not a directory: $droot->{PRINT}";
|
||||||
|
exit 1;
|
||||||
|
}
|
||||||
|
|
||||||
my $exit_status = 0;
|
my $exit_status = 0;
|
||||||
my @subvol_src;
|
my @subvol_src;
|
||||||
foreach my $svol (@subvol_args) {
|
foreach my $svol (@subvol_args) {
|
||||||
|
|
Loading…
Reference in New Issue