From acb1aa3c2987eab96f86df87c26ddeaa7c646d45 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 5 Jun 2013 15:48:57 +0200 Subject: Exit with 255 since that's more explicit. Rationale behind exit(-1) is that it turns into highest available number which hopefully won't collide with a wrapping shell script trying to exit with different codes depending on error (like 1, 2, 3). --- lib/chutney/Traffic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chutney/Traffic.py b/lib/chutney/Traffic.py index 694cd87..9b0a1f7 100644 --- a/lib/chutney/Traffic.py +++ b/lib/chutney/Traffic.py @@ -275,7 +275,7 @@ def main(): if success: return 0 - return -1 + return 255 if __name__ == '__main__': sys.exit(main()) -- cgit v1.2.3