summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 2977e234..da60017a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -182,7 +182,7 @@ sub set_files {
statedir => "$urpmi_root/var/lib/urpmi",
cachedir => "$urpmi_root/var/cache/urpmi",
root => $urpmi_root,
- $urpmi_root ? (urpmi_root => $urpmi_root) : (),
+ $urpmi_root ? (urpmi_root => $urpmi_root) : @{[]},
);
$urpm->{$_} = $h{$_} foreach keys %h;