diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/main_loop.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 74e860dd..db4066ab 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -273,6 +273,9 @@ foreach my $set (@{$state->{transaction} || []}) { } } } + if ($callbacks->{is_canceled}) { + last if $callbacks->{is_canceled}->(); + } } if ($migrate_back_rpmdb_db_version) { |