From 7ee5778deeb1316ca04560319c8262a32c561409 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Wed, 30 Mar 2016 23:23:07 +0200 Subject: [PATCH] btrbk: bugfix: print correct target on "same backup target error" --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index 45b8720..f82699d 100755 --- a/btrbk +++ b/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; }