| Index: chrome/app/chrome_dll_main.cc
|
| diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
|
| index 9e2becc3d8ef0acc5520f04836c56f7463aeb1e0..2e2a20961a2c5dc3c97c2f23700c5f2c1ec9217e 100644
|
| --- a/chrome/app/chrome_dll_main.cc
|
| +++ b/chrome/app/chrome_dll_main.cc
|
| @@ -399,8 +399,10 @@ int ChromeMain(int argc, char** argv) {
|
| #endif
|
| #if defined(OS_CHROMEOS)
|
| // Output our start times.
|
| - system("set -o noclobber ; cat /proc/uptime > /tmp/uptime-chrome-main");
|
| - system("set -o noclobber ; cat /sys/block/sda/stat > /tmp/disk-chrome-main");
|
| + system("if [ ! -f /tmp/uptime-chrome-main ]; "
|
| + "then cat /proc/uptime > /tmp/uptime-chrome-main ; fi");
|
| + system("if [ ! -f /tmp/disk-chrome-main ]; "
|
| + "then cat /sys/block/sda/stat > /tmp/disk-chrome-main ; fi");
|
| #endif
|
| #if defined(OS_MACOSX)
|
| // TODO(mark): Some of these things ought to be handled in chrome_exe_main.mm.
|
|
|