]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fix return-valid of leave
authormeejah <meejah@meejah.ca>
Mon, 1 Feb 2016 23:30:42 +0000 (16:30 -0700)
committermeejah <meejah@meejah.ca>
Mon, 8 Feb 2016 17:12:32 +0000 (10:12 -0700)
src/allmydata/scripts/magic_folder_cli.py

index dc26a36b4343abeebfedbf4b6187ae449bd269f9..df81e750fb4ae11e1e097dbf722478f926e4f9f5 100644 (file)
@@ -204,6 +204,8 @@ def leave(options):
         except Exception as e:
             print >>options.stderr, ("Warning: unable to remove %s due to %s: %s"
                 % (quote_local_unicode_path(f), e.__class__.__name__, str(e)))
+    # if this doesn't return 0, then the CLI stuff fails
+    return 0
 
 class StatusOptions(BasedirOptions):
     nickname = None