diff --git a/cluster/sge.disable.host.queue.sh b/cluster/sge.disable.host.queue.sh index 5ed7b7b..226d565 100755 --- a/cluster/sge.disable.host.queue.sh +++ b/cluster/sge.disable.host.queue.sh @@ -161,7 +161,7 @@ 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 - qmod --disable "${local_sge_queue_name}@${local_sge_hostname}" \ + qmod --disable "${local_sge_queue_name}@${local_sge_hostname}" > /dev/null \ && return_disable_queue="${?}" return "${return_disable_queue}" diff --git a/cluster/sge.enable.host.queue.sh b/cluster/sge.enable.host.queue.sh index c4c852e..bc425df 100755 --- a/cluster/sge.enable.host.queue.sh +++ b/cluster/sge.enable.host.queue.sh @@ -288,7 +288,8 @@ enable_sge_queue() { # {{{ debug_message "enable_sge_queue − \ Previously disabled by a script (or FORCE is enable), try to enable SGE queue: ${RED}${local_sge_queue_name:=/dev/null}@${local_sge_hostname:=/dev/null}${COLOR_DEBUG}." ## SGE command to enable the queue - qmod --enable "${local_sge_queue_name}@${local_sge_hostname}" \ + qmod --enable "${local_sge_queue_name}@${local_sge_hostname}" > /dev/null \ + && message "Enable SGE queue: ${RED}${local_sge_queue_name:=/dev/null}@${local_sge_hostname:=/dev/null}${RESET}" \ && return_enable_queue="${?}" else message "SGE queue: ${RED}${local_sge_queue_name:=/dev/null}@${local_sge_hostname:=/dev/null}${RESET} was manually disabled, please re-enable it ${RED}manually${RESET} (or use --force option)."