diff --git a/cluster/apt.apply.update.sh b/cluster/apt.apply.update.sh index f115d88..49f93bf 100755 --- a/cluster/apt.apply.update.sh +++ b/cluster/apt.apply.update.sh @@ -76,7 +76,7 @@ is_sge_host() { # {{{ SGE seems present on this host." ### And verify if the host is fully configured as a submit host - if qconf -ss | grep --word-regexp --quiet $(hostname -f); then + if qconf -ss 2>/dev/null | grep --word-regexp --quiet $(hostname -f); then debug_message "is_sge_host − \ The host seems configured as a SGE submit host." return_is_sge_host="0" diff --git a/cluster/apt.check.update.sh b/cluster/apt.check.update.sh index f85f934..5ecb5fb 100755 --- a/cluster/apt.check.update.sh +++ b/cluster/apt.check.update.sh @@ -99,7 +99,7 @@ is_sge_host() { # {{{ SGE seems present on this host." ### And verify if the host is fully configured as a submit host - if qconf -ss | grep --word-regexp --quiet $(hostname -f); then + if qconf -ss 2>/dev/null | grep --word-regexp --quiet $(hostname -f); then debug_message "is_sge_host − \ The host seems configured as a SGE submit host." return_is_sge_host="0" diff --git a/cluster/maco.apply.update.sh b/cluster/maco.apply.update.sh index 66c9530..a98c150 100755 --- a/cluster/maco.apply.update.sh +++ b/cluster/maco.apply.update.sh @@ -81,7 +81,7 @@ is_sge_host() { # {{{ SGE seems present on this host." ### And verify if the host is fully configured as a submit host - if qconf -ss | grep --word-regexp --quiet $(hostname -f); then + if qconf -ss 2>/dev/null | grep --word-regexp --quiet $(hostname -f); then debug_message "is_sge_host − \ The host seems configured as a SGE submit host." return_is_sge_host="0" diff --git a/cluster/sge.enable.host.queue.sh b/cluster/sge.enable.host.queue.sh index 21434f6..ecffbce 100755 --- a/cluster/sge.enable.host.queue.sh +++ b/cluster/sge.enable.host.queue.sh @@ -179,7 +179,7 @@ is_sge_host() { # {{{ SGE seems present on this host." ### And verify if the host is fully configured as a submit host - if qconf -ss | grep --word-regexp --quiet $(hostname -f); then + if qconf -ss 2>/dev/null | grep --word-regexp --quiet $(hostname -f); then debug_message "is_sge_host − \ The host seems configured as a SGE submit host." return_is_sge_host="0"