From 824edc438fb280106a144f913fd73a12e86217ae Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx <zooko@zooko.com> Date: Thu, 22 Jan 2009 15:54:05 -0700 Subject: [PATCH] setup: make the bin/tahoe executable exit with the appropriate exit code --- bin/tahoe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/tahoe b/bin/tahoe index 7299407e..963abff0 100644 --- 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 -- 2.45.2