HomePhabricator
Diffusion Scap c04d60970633

Return super().main() when overriding AbstractSync.main()

Description

Return super().main() when overriding AbstractSync.main()

Ensure that the exit code generated by AbstractSync.main() is propagated
when a sub class extends main() to add additional command line
arguments. This will make scap, sync-dir and sync-file properly exit
with a non-zero status code in the event of soft sync errors.

Bug: T109007
Change-Id: I26b732a5f0cb3d6e49f217679c09501991d11255