diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 60507c8856..49ca4ef950 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -478,6 +478,7 @@ ssh_forward() } #This function executes $2 at $1 host and report error $3 but does not exit +#Accept $4 as alternative correct return code function ssh_exec_and_log_no_error { SSH_EXEC_ERR=`$SSH $1 bash -s 2>&1 1>/dev/null <