Browse Source

non 0 return code on failure:

- return 2 if files have not been copied
- return 1 if file have been copied but errors occured
python2
Goffi 11 years ago
parent
commit
4271439cab
  1. 4
      gcp

4
gcp

@ -682,4 +682,8 @@ if __name__ == "__main__":
exit(1)
if gcp._main_instance:
gcp.go()
if gcp.journal.failed:
exit(2)
if gcp.journal.partial:
exit(1)

Loading…
Cancel
Save