
21 Sep
2009
21 Sep
'09
12:08 a.m.
Dear Peter Tyser,
In message 1253316982-20606-1-git-send-email-ptyser@xes-inc.com you wrote:
index 1d50c34..a63d028 100755 --- a/MAKEALL +++ b/MAKEALL @@ -1,5 +1,8 @@ #!/bin/sh
+# Print statistics when ctrl-c is pressed +trap "print_stats; exit " 2
Why only on signal 2? Usually we use "1 2 3 15" in such cases.
Also, you might add "0" here and then...
@@ -932,3 +956,5 @@ do ;; esac done
+print_stats
...omit this chunk.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Prepare for tomorrow -- get ready.
-- Edith Keeler, "The City On the Edge of Forever",
stardate unknown