summaryrefslogtreecommitdiffstats
path: root/scripts/xmms2.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xmms2.pl')
-rw-r--r--scripts/xmms2.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmms2.pl b/scripts/xmms2.pl
index 82de202..ce2c9d8 100644
--- a/scripts/xmms2.pl
+++ b/scripts/xmms2.pl
@@ -45,7 +45,7 @@ sub cmd_xmms {
$args =~ s/\s+$//; #fix unneeded whitespaces after output dest.
my (@t, $t, $ttotal, @pos, $pos, $postotal, $title);
- open xmms, '/tmp/xmms-info' || die; # if nothing happens, it probably
+ open xmms, "<", '/tmp/xmms-info' || die; # if nothing happens, it probably
# failed here!
while(<xmms>) {