fix return-valid of leave

This commit is contained in:
meejah 2016-02-01 16:30:42 -07:00 committed by Brian Warner
parent bf3bf70814
commit c217d1f8f3

View 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