From: meejah Date: Mon, 1 Feb 2016 23:30:42 +0000 (-0700) Subject: fix return-valid of leave X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/readonly?a=commitdiff_plain;h=9f84feef33098eb8a3518b744c31ace20edf391c;p=tahoe-lafs%2Ftahoe-lafs.git fix return-valid of leave --- diff --git a/src/allmydata/scripts/magic_folder_cli.py b/src/allmydata/scripts/magic_folder_cli.py index dc26a36b..df81e750 100644 --- a/src/allmydata/scripts/magic_folder_cli.py +++ b/src/allmydata/scripts/magic_folder_cli.py @@ -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