From 69b0c2fe997db4e9805614803c41f91db4ee212b Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Thu, 23 Jun 2016 17:21:18 +0200 Subject: [PATCH] Use bash instead of sh to execute remote scripts Ubuntu uses dash and some scripts are incompatible --- src/mad/sh/scripts_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 3de08834b0..b2681cc5e6 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -333,7 +333,7 @@ function mkfs_command { #This function executes $2 at $1 host and report error $3 function ssh_exec_and_log { - SSH_EXEC_ERR=`$SSH $1 sh -s 2>&1 1>/dev/null <&1 1>/dev/null <&1 1>/dev/null <&1 1>/dev/null </dev/null <&1 1>/dev/null <&1 1>/dev/null <