]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/scripts/magic_folder_cli.py
fix return-valid of leave
[tahoe-lafs/tahoe-lafs.git] / 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