Skip to content

Commit

Permalink
Make final error message more generic.
Browse files Browse the repository at this point in the history
Not all errors mean files couldn't be compared. See e.g.
israel-lugo/capidup#17 (detect directory loops).
  • Loading branch information
israel-lugo committed Sep 10, 2017
1 parent f8d92f8 commit 3519cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capidupcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def main():
if errors:
# XXX: Should we print the error strings again, so they are all
# together in one place?
sys.stderr.write("error: some files could not be compared\n")
sys.stderr.write("error: some files/directories could not be compared/indexed (see previous errors)\n")
sys.exit(1)


Expand Down

0 comments on commit 3519cf0

Please sign in to comment.