From 9f84feef33098eb8a3518b744c31ace20edf391c Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 1 Feb 2016 16:30:42 -0700 Subject: [PATCH] fix return-valid of leave --- src/allmydata/scripts/magic_folder_cli.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.37.2