mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 17:23:09 +00:00
The old test used syntax that appeared to be bash-specific and did not work on platforms where /bin/sh did not point to bash. See issue #2742 where copy to solaris hosts failed with the error: output: {'stdout': '', 'stderr': '/bin/sh: test: argument expected\n', 'rc': 1}