mirror of https://github.com/digint/btrbk
btrbk: bugfix: print correct target on "same backup target error"
parent
c4073f6c53
commit
7ee5778dee
2
btrbk
2
btrbk
|
@ -3474,7 +3474,7 @@ MAIN:
|
|||
# check for duplicate snapshot locations
|
||||
my $snapshot_backup_target = ($symlink{$droot->{URL}} // $droot->{URL}) . '/' . $snapshot_basename;
|
||||
if(my $prev = $backup_check{$snapshot_backup_target}) {
|
||||
ERROR "Subvolume \"$prev\" and \"$svol->{PRINT}\" will create same backup target: $snapshot_target";
|
||||
ERROR "Subvolume \"$prev\" and \"$svol->{PRINT}\" will create same backup target: $snapshot_backup_target";
|
||||
ERROR "Please fix \"snapshot_name\" or \"target\" configuration options!";
|
||||
exit 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue