/bin/sh is more portable than /bin/bash

This commit is contained in:
Todd Stansell 2015-08-21 09:13:07 -07:00 committed by rallytime
parent 2cd36c7ed4
commit 6f8bed88cb

View File

@ -134,7 +134,7 @@ def main(argv): # pylint: disable=W0613
unpack_thin(thin_path)
# Salt thin now is available to use
else:
scpstat = subprocess.Popen(['/bin/bash', '-c', 'command -v scp']).wait()
scpstat = subprocess.Popen(['/bin/sh', '-c', 'command -v scp']).wait()
if not scpstat == 0:
sys.exit(EX_SCP_NOT_FOUND)