projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77c89a
)
setup: make the bin/tahoe executable exit with the appropriate exit code
author
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 22 Jan 2009 22:54:05 +0000
(15:54 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 22 Jan 2009 22:54:05 +0000
(15:54 -0700)
bin/tahoe
patch
|
blob
|
history
diff --git
a/bin/tahoe
b/bin/tahoe
index 7299407e30f78100bbe1786c384529faa85f4631..963abff005a707d83fbc96ee5f21869b2efd93fc 100644
(file)
--- a/
bin/tahoe
+++ b/
bin/tahoe
@@
-48,7
+48,8
@@
if sys.platform == "win32":
executable = os.path.join(base, "support", bin_dir, "tahoe")
try:
- subprocess.call([executable] + sys.argv[1:], env=os.environ)
+ 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