summaryrefslogtreecommitdiffstats
path: root/subcmds/diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/diff.py')
-rw-r--r--subcmds/diff.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/subcmds/diff.py b/subcmds/diff.py
index 1f3abd86..fa41e70e 100644
--- a/subcmds/diff.py
+++ b/subcmds/diff.py
@@ -37,5 +37,8 @@ to the Unix 'patch' command.
37 help='Paths are relative to the repository root') 37 help='Paths are relative to the repository root')
38 38
39 def Execute(self, opt, args): 39 def Execute(self, opt, args):
40 ret = 0
40 for project in self.GetProjects(args): 41 for project in self.GetProjects(args):
41 project.PrintWorkTreeDiff(opt.absolute) 42 if not project.PrintWorkTreeDiff(opt.absolute):
43 ret = 1
44 return ret