diff --git a/ChangeLog b/ChangeLog index 3b678bd..77cb9c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ btrbk-current * Remove "duration" column from transaction_log/transaction_syslog. * Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer). * Bugfix: print correct (end-)time in transaction_log. + * Bugfix: check path when expanding wildcards (close #181). btrbk-0.25.1 diff --git a/btrbk b/btrbk index f30105e..80c595d 100755 --- a/btrbk +++ b/btrbk @@ -4283,6 +4283,10 @@ MAIN: TRACE "skipping non-matching subvolume: $vol->{PRINT}"; next; } + unless(defined(check_file($vol->{SUBVOL_PATH}, { relative => 1 }))) { + WARN "Ambiguous subvolume path \"$vol->{SUBVOL_PATH}\" while expanding \"$globs\", ignoring"; + next; + } INFO "Found source subvolume: $vol->{PRINT}"; my %conf = ( %$config_subvol, rel_path_glob => $globs,