projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed27bd
)
fix return-valid of leave
author
meejah
<meejah@meejah.ca>
Mon, 1 Feb 2016 23:30:42 +0000
(16:30 -0700)
committer
meejah
<meejah@meejah.ca>
Mon, 8 Feb 2016 17:12:32 +0000
(10:12 -0700)
src/allmydata/scripts/magic_folder_cli.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/magic_folder_cli.py
b/src/allmydata/scripts/magic_folder_cli.py
index dc26a36b4343abeebfedbf4b6187ae449bd269f9..df81e750fb4ae11e1e097dbf722478f926e4f9f5 100644
(file)
--- 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