From 6f8bed88cb33855f366dc82b89e7061bc1d7fb08 Mon Sep 17 00:00:00 2001 From: Todd Stansell Date: Fri, 21 Aug 2015 09:13:07 -0700 Subject: [PATCH] /bin/sh is more portable than /bin/bash --- salt/client/ssh/ssh_py_shim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/client/ssh/ssh_py_shim.py b/salt/client/ssh/ssh_py_shim.py index 51815d513f..ec0104afad 100644 --- a/salt/client/ssh/ssh_py_shim.py +++ b/salt/client/ssh/ssh_py_shim.py @@ -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)