summaryrefslogtreecommitdiffstats
path: root/rpm-find-leaves
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-find-leaves')
-rw-r--r--rpm-find-leaves2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm-find-leaves b/rpm-find-leaves
index 1a419cbf..87aabdbb 100644
--- a/rpm-find-leaves
+++ b/rpm-find-leaves
@@ -23,7 +23,7 @@ where [options] are from
my $urpm = urpm->new;
-while ($_ = shift) {
+while (my $_ = shift) {
$_ eq '--root' and do {
my $root = shift;
$root and urpm::set_files($urpm, $root);