summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Booij (tulcod) <auke@tulcod.com>2010-08-08 14:24:13 +0200
committerAuke Booij (tulcod) <auke@tulcod.com>2010-08-08 14:24:13 +0200
commitdf7ee18ca7c38c28734d486bb1d82bc0e8087b78 (patch)
treee735b35bd01dc36d5c3583220108f6e6decbcb35
parentFix (diff)
downloadg-cran-df7ee18ca7c38c28734d486bb1d82bc0e8087b78.tar.gz
g-cran-df7ee18ca7c38c28734d486bb1d82bc0e8087b78.tar.bz2
g-cran-df7ee18ca7c38c28734d486bb1d82bc0e8087b78.zip
Fixed exit codes
-rwxr-xr-xbin/g-common3
-rwxr-xr-xbin/g-cran3
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/g-common b/bin/g-common
index e2649a4..e8d80b1 100755
--- a/bin/g-common
+++ b/bin/g-common
@@ -1,6 +1,7 @@
#!python
+import sys
from g_common import g_common
if __name__ == "__main__":
- g_common.main()
+ sys.exit(g_common.main())
diff --git a/bin/g-cran b/bin/g-cran
index 171c836..69622eb 100755
--- a/bin/g-cran
+++ b/bin/g-cran
@@ -1,6 +1,7 @@
#!python
+import sys
from g_cran import g_cran
if __name__ == "__main__":
- g_cran.main()
+ sys.exit(g_cran.main())