Skip to content

Commit

Permalink
Fix perl bug with perl 5.40 issue zmanda#262
Browse files Browse the repository at this point in the history
  • Loading branch information
exuvo committed Dec 23, 2024
1 parent 2832db0 commit 642710e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion perl/Amanda/Tapelist.swg
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use Amanda::Debug qw(:logging);
use Amanda::Config qw( config_dir_relative );
use File::Copy;
use Fcntl qw(:flock); # import LOCK_* constants
use Amanda::Message qw( :severity );
use Amanda::Message;

## package functions

Expand Down
2 changes: 1 addition & 1 deletion perl/Amanda/Taper/Scribe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ sub _xmsg_no_space {
if ($chg->{'global_space'}) {
$chg->inventory(inventory_cb => $steps->{'got_inventory'});
} else {
return $finished_cb();
return $finished_cb->();
}
};

Expand Down

0 comments on commit 642710e

Please sign in to comment.