diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 7288e0e9e0..edda6d63c5 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -358,7 +358,9 @@ EOF` fi } -#This function executes $2 at $1 host and returns stdout +# This function executes $2 at $1 host and returns stdout +# If $3 is present, it is used as the error message when +# the command fails function ssh_monitor_and_log { SSH_EXEC_OUT=`$SSH $1 sh -s 2>/dev/null <