summaryrefslogtreecommitdiffstats
path: root/scripts/xmms.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xmms.pl')
-rw-r--r--scripts/xmms.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmms.pl b/scripts/xmms.pl
index 6a72b1e..dcd8278 100644
--- a/scripts/xmms.pl
+++ b/scripts/xmms.pl
@@ -83,7 +83,7 @@ Example: /set xmms_format_time %%m minutes, %%s seconds
my %xi;
- open(XMMS, $xf);
+ open(XMMS, "<", $xf);
while (<XMMS>) {
chomp;
my ($key, $value) = split /: /, $_, 2;