Ignore error message for qconf result

This commit is contained in:
Jeremy Gardais 2021-12-22 10:53:33 +01:00
parent 1cd20da9b6
commit 15992d9393
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
4 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"