From: Brian Warner <warner@allmydata.com>
Date: Thu, 12 Mar 2009 20:53:45 +0000 (-0700)
Subject: tahoe_cp.py: return 0 for success, instead of None
X-Git-Tag: allmydata-tahoe-1.4.0~66
X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/bar.txt?a=commitdiff_plain;h=969b758bf5ee02b5a8ba0e32d92fab37126ddb13;p=tahoe-lafs%2Ftahoe-lafs.git

tahoe_cp.py: return 0 for success, instead of None
---

diff --git a/src/allmydata/scripts/tahoe_cp.py b/src/allmydata/scripts/tahoe_cp.py
index 26ec3515..026a6cd9 100644
--- a/src/allmydata/scripts/tahoe_cp.py
+++ b/src/allmydata/scripts/tahoe_cp.py
@@ -443,6 +443,7 @@ class Copier:
             print >>self.stderr
             te.display(self.stderr)
             return 1
+        return 0
 
     def try_copy(self):
         source_specs = self.options.sources