diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-12 21:33:30 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-17 15:47:10 -0800 |
commit | 2763ccbc7b2b805af923916617d44c4225420a81 (patch) | |
tree | a2a3bbcda5633494fc44820b71d0b69f8624c5c2 /scripts/vyatta-cpu-summary.pl | |
parent | 9b7060b212d729f1bfd585d832ddfb566b94dc44 (diff) | |
download | vyatta-op-2763ccbc7b2b805af923916617d44c4225420a81.tar.gz vyatta-op-2763ccbc7b2b805af923916617d44c4225420a81.zip |
Enable strict in cpu summary
Diffstat (limited to 'scripts/vyatta-cpu-summary.pl')
-rwxr-xr-x | scripts/vyatta-cpu-summary.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-cpu-summary.pl b/scripts/vyatta-cpu-summary.pl index 771bc5a..b3e0331 100755 --- a/scripts/vyatta-cpu-summary.pl +++ b/scripts/vyatta-cpu-summary.pl @@ -1,6 +1,8 @@ #! /usr/bin/perl # implement "show cpu-info" +use strict; + open my $cpuinfo, '<', '/proc/cpuinfo' or die "Can't open /proc/cpuinfo : $!"; |