projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed conf
[clearscm.git]
/
lib
/
Utils.pm
diff --git
a/lib/Utils.pm
b/lib/Utils.pm
index
29e020c
..
446d2e7
100644
(file)
--- a/
lib/Utils.pm
+++ b/
lib/Utils.pm
@@
-471,7
+471,7
@@
In a scalar context just the 1 minute load average.
# TODO: Make it work on Windows...
return if $^O =~ /win/i;
# TODO: Make it work on Windows...
return if $^O =~ /win/i;
- open my $loadAvg, '/proc/loadavg'
+ open my $loadAvg, '
<', '
/proc/loadavg'
or croak "Unable to open /proc/loadavg\n";
my $load = <$loadAvg>;
or croak "Unable to open /proc/loadavg\n";
my $load = <$loadAvg>;