diff options
author | Auke Booij (tulcod) <auke@tulcod.com> | 2010-08-08 14:24:13 +0200 |
---|---|---|
committer | Auke Booij (tulcod) <auke@tulcod.com> | 2010-08-08 14:24:13 +0200 |
commit | df7ee18ca7c38c28734d486bb1d82bc0e8087b78 (patch) | |
tree | e735b35bd01dc36d5c3583220108f6e6decbcb35 | |
parent | Fix (diff) | |
download | g-cran-df7ee18ca7c38c28734d486bb1d82bc0e8087b78.tar.gz g-cran-df7ee18ca7c38c28734d486bb1d82bc0e8087b78.tar.bz2 g-cran-df7ee18ca7c38c28734d486bb1d82bc0e8087b78.zip |
Fixed exit codes
-rwxr-xr-x | bin/g-common | 3 | ||||
-rwxr-xr-x | bin/g-cran | 3 |
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()) @@ -1,6 +1,7 @@ #!python +import sys from g_cran import g_cran if __name__ == "__main__": - g_cran.main() + sys.exit(g_cran.main()) |