summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/cfg.pm')
-rw-r--r--urpm/cfg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index 5baffc60..e3988ea5 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -115,7 +115,7 @@ sub load_config ($;$) {
_syntax_error();
return;
}
- $config{$medium}{priority} = $priority++; #- to preserve order
+ $config{$medium}{priority} = ++$priority; #- to preserve order
undef $medium;
next;
}