summaryrefslogtreecommitdiff
path: root/bin/vdf
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-24 14:46:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-24 14:46:49 +0200
commit696e05f39721b96a278bb6e6ac2f8dbe64235621 (patch)
treefa8cdaa16ec82a85905841c7bca1d89006b21275 /bin/vdf
parentbbd5a9fe084a6cf86f479fc6877202bb41308a78 (diff)
Add hddtemp wrapper
Diffstat (limited to 'bin/vdf')
-rwxr-xr-xbin/vdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/vdf b/bin/vdf
index b24147d..4fd7770 100755
--- a/bin/vdf
+++ b/bin/vdf
@@ -83,7 +83,7 @@ sub show_df_console {
getopts('ac', \%opts);
-open(my $mounts_fh, '/proc/mounts');
+open(my $mounts_fh, '<', '/proc/mounts');
while (my $line = <$mounts_fh>) {
push(@mounts, [split(qr{ }, $line)]);
}