mirror of https://github.com/ansible/ansible.git
Fix test so that it is /bin/sh compliant (issue #2742)
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}pull/2745/head
parent
7fabaec55f
commit
ab3cb4912e
Loading…
Reference in New Issue