Commit d5c7d794 authored by Dennis Kanbier's avatar Dennis Kanbier

Fixed the use of a variable

parent b9ea6067
......@@ -32,7 +32,7 @@ print "{\n";
print "\t\"data\":[\n\n";
# Fetch the data and put it in an array
my @_data = `cat /proc/diskstats | awk '{ print \$3 }'`;
my @_data = `cat $_proc | awk '{ print \$3 }'`;
chomp @_data;
# Read the array and print the wanted data
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment