[tor-commits] [metrics-web/master] Unset -e in clients stats script.

karsten at torproject.org karsten at torproject.org
Mon Aug 24 13:19:13 UTC 2015


commit 2a68d0616ff55b1e8852163b8bccb656bf8ebdbe
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Aug 24 15:16:27 2015 +0200

    Unset -e in clients stats script.
    
    In theory, it's a fine idea to stop the script if one of its steps
    fails.  But `ant | grep "\[java\]"` returns a non-zero code if there's
    not a single line of output, which is not a failure.  We shouldn't
    stop in that case.
---
 shared/bin/80-run-clients-stats.sh |    1 -
 1 file changed, 1 deletion(-)

diff --git a/shared/bin/80-run-clients-stats.sh b/shared/bin/80-run-clients-stats.sh
index 325570c..bdd55c1 100755
--- a/shared/bin/80-run-clients-stats.sh
+++ b/shared/bin/80-run-clients-stats.sh
@@ -1,5 +1,4 @@
 #!/bin/sh
-set -e
 
 cd modules/clients/
 





More information about the tor-commits mailing list