]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: sys.exit() raises a SystemExit exception on Python 2.4 on Solaris -- fix it...
authorZooko O'Whielacronx <zooko@zooko.com>
Sat, 24 Jan 2009 01:49:11 +0000 (18:49 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sat, 24 Jan 2009 01:49:11 +0000 (18:49 -0700)
bin/tahoe

index 963abff005a707d83fbc96ee5f21869b2efd93fc..71dbc809c638ea9998aa5e46e0d60b941f4ffc49 100644 (file)
--- a/bin/tahoe
+++ b/bin/tahoe
@@ -49,7 +49,6 @@ executable = os.path.join(base, "support", bin_dir, "tahoe")
 
 try:
     res = subprocess.call([executable] + sys.argv[1:], env=os.environ)
-    sys.exit(res)
 except (OSError, IOError), le:
     if le.args[0] == errno.ENOENT:
         print whoami
@@ -67,3 +66,5 @@ I just tried to invoke my brother, named "../support/bin/tahoe" and got an
 exception.
 '''
     raise
+else:
+    sys.exit(res)