]>
Commit | Line | Data |
---|---|---|
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 |