From 696e05f39721b96a278bb6e6ac2f8dbe64235621 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 24 Oct 2010 14:46:49 +0200 Subject: Add hddtemp wrapper --- bin/vdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/vdf') 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)]); } -- cgit v1.2.3