mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-05 12:52:48 +00:00
Well organized programs should only have a few successful exit points. This commit moves all of the successful exit points for the file module into the main() function. Other functions return their results to the main function which can then choose whether there is more procesing to do before exit or not.