aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/URPM.pm b/URPM.pm
index 5187558..6267ac7 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -26,7 +26,9 @@ sub new {
$self;
}
-sub set_nofatal { $_[0]{nofatal} = $_[1] }
+sub set_nofatal {
+ my ($urpm, $bool) = @_;
+ $urpm->{nofatal} = $bool }
sub packages_providing {
my ($urpm, $name) = @_;