summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/amanda/files/amanda-3.5.4-fix-finished_cb-invocation.patch')
-rw-r--r--app-backup/amanda/files/amanda-3.5.4-fix-finished_cb-invocation.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-backup/amanda/files/amanda-3.5.4-fix-finished_cb-invocation.patch b/app-backup/amanda/files/amanda-3.5.4-fix-finished_cb-invocation.patch
new file mode 100644
index 000000000000..7df4c970bd8a
--- /dev/null
+++ b/app-backup/amanda/files/amanda-3.5.4-fix-finished_cb-invocation.patch
@@ -0,0 +1,12 @@
+diff '--color=auto' -ur amanda-tag-community-3.5.4.orig/perl/Amanda/Taper/Scribe.pm amanda-tag-community-3.5.4/perl/Amanda/Taper/Scribe.pm
+--- amanda-tag-community-3.5.4.orig/perl/Amanda/Taper/Scribe.pm 2023-07-26 06:27:30.000000000 -0400
++++ amanda-tag-community-3.5.4/perl/Amanda/Taper/Scribe.pm 2024-10-25 06:09:33.265064134 -0400
+@@ -1084,7 +1084,7 @@
+ if ($chg->{'global_space'}) {
+ $chg->inventory(inventory_cb => $steps->{'got_inventory'});
+ } else {
+- return $finished_cb();
++ return $finished_cb->();
+ }
+ };
+