diff --git a/cluster/disable.host.queue.sh b/cluster/disable.host.queue.sh index cc9b11a..8d8d648 100755 --- a/cluster/disable.host.queue.sh +++ b/cluster/disable.host.queue.sh @@ -75,7 +75,7 @@ is_queue_enable() { # {{{ esac ## Simple debug message to valid current variables - [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG : is_queue_enable − \ + [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME} : is_queue_enable − \ SGE queue: ${RED}${local_sge_queue_name:=/dev/null}${COLOR_DEBUG} \ state is: ${RED}${local_sge_queue_state:=/dev/null}${COLOR_DEBUG}." @@ -107,7 +107,7 @@ is_queue_disable() { # {{{ esac ## Simple debug message to valid current variables - [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG : is_queue_disable − \ + [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME} : is_queue_disable − \ SGE queue: ${RED}${local_sge_queue_name:=/dev/null}${COLOR_DEBUG} \ state is: ${RED}${local_sge_queue_state:=/dev/null}${COLOR_DEBUG}." @@ -121,7 +121,7 @@ disable_sge_queue() { # {{{ local_sge_queue_name="${2}" ## Simple debug message to valid current variables - [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG : disable_sge_queue − \ + [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME} : disable_sge_queue − \ Try to disable SGE queue: ${RED}${local_sge_queue_name:=/dev/null}@${local_sge_hostname:=/dev/null}${COLOR_DEBUG}." ## SGE command to disable the queue @@ -141,7 +141,7 @@ main() { # {{{ | cut -d"'" -f2 )" ## Simple debug message with color to valid current variables - [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG : main − Try to manage \ + [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME} : main − Try to manage \ SGE queue: ${RED}${sge_queue_name:=/dev/null}${COLOR_DEBUG} \ for host: ${RED}${sge_hostname:=/dev/null}${COLOR_DEBUG}."