]> git.pld-linux.org Git - packages/bootchart.git/blame - bootchart-bash.patch
- it is common to report errors to stderr
[packages/bootchart.git] / bootchart-bash.patch
CommitLineData
88e95ed7
ER
1--- bootchart-0.9/script/bootchartd~ 2005-11-13 19:40:01.000000000 +0200
2+++ bootchart-0.9/script/bootchartd 2006-12-05 23:28:56.809443296 +0200
3@@ -101,7 +101,7 @@
4 # Write the time (in jiffies).
5 read uptime < /proc/uptime
6 uptime=${uptime%% [0-9]*}
7- uptime=${uptime/./}
8+ uptime=${uptime%.*}${uptime#*.}
9 echo $uptime
10
11 # Log the command output
This page took 0.044643 seconds and 4 git commands to generate.