diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 4f9e7f6909..84546daade 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -330,8 +330,8 @@ function mkfs_command { fi } -#This function executes $2 at $1 host and report error $3 -function ssh_exec_and_log +#This function executes $2 at $1 host and report error $3 but does not exit +function ssh_exec_and_log_no_error { SSH_EXEC_ERR=`$SSH $1 bash -s 2>&1 1>/dev/null <&1 1>/dev/null <