From a25487e8732337c977b0156f8f4158ca32ee8e64 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 15 Feb 2018 03:14:17 +0100 Subject: [PATCH] btrbk: cosmetics (log messages) --- btrbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btrbk b/btrbk index cf240a7..06c2d4a 100755 --- a/btrbk +++ b/btrbk @@ -5340,7 +5340,7 @@ MAIN: my $snapshot_basename = config_key($svol, "snapshot_name") // die; my $snapshot_target = $sroot->{URL_PREFIX} . ($realpath_cache{$snaproot->{URL}} // $snaproot->{PATH}) . '/' . $snapshot_basename; if(my $prev = $snapshot_check{$snapshot_target}) { - ERROR "Subvolume \"$prev\" and \"$svol->{PRINT}\" will create same snapshot: $snapshot_target"; + ERROR "Subvolume \"$prev\" and \"$svol->{PRINT}\" will create same snapshot: ${snapshot_target}.*"; ERROR "Please fix \"snapshot_name\" configuration options!"; exit 1; } @@ -5350,7 +5350,7 @@ MAIN: # check for duplicate snapshot locations my $snapshot_backup_target = $droot->{URL_PREFIX} . ($realpath_cache{$droot->{URL}} // $droot->{PATH}) . '/' . $snapshot_basename; if(my $prev = $backup_check{$snapshot_backup_target}) { - ERROR "Subvolume \"$prev\" and \"$svol->{PRINT}\" will create same backup target: $snapshot_backup_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; }