Ignore error message for qconf result
This commit is contained in:
parent
1cd20da9b6
commit
15992d9393
|
@ -76,7 +76,7 @@ is_sge_host() { # {{{
|
||||||
SGE seems present on this host."
|
SGE seems present on this host."
|
||||||
|
|
||||||
### And verify if the host is fully configured as a submit 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 − \
|
debug_message "is_sge_host − \
|
||||||
The host seems configured as a SGE submit host."
|
The host seems configured as a SGE submit host."
|
||||||
return_is_sge_host="0"
|
return_is_sge_host="0"
|
||||||
|
|
|
@ -99,7 +99,7 @@ is_sge_host() { # {{{
|
||||||
SGE seems present on this host."
|
SGE seems present on this host."
|
||||||
|
|
||||||
### And verify if the host is fully configured as a submit 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 − \
|
debug_message "is_sge_host − \
|
||||||
The host seems configured as a SGE submit host."
|
The host seems configured as a SGE submit host."
|
||||||
return_is_sge_host="0"
|
return_is_sge_host="0"
|
||||||
|
|
|
@ -81,7 +81,7 @@ is_sge_host() { # {{{
|
||||||
SGE seems present on this host."
|
SGE seems present on this host."
|
||||||
|
|
||||||
### And verify if the host is fully configured as a submit 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 − \
|
debug_message "is_sge_host − \
|
||||||
The host seems configured as a SGE submit host."
|
The host seems configured as a SGE submit host."
|
||||||
return_is_sge_host="0"
|
return_is_sge_host="0"
|
||||||
|
|
|
@ -179,7 +179,7 @@ is_sge_host() { # {{{
|
||||||
SGE seems present on this host."
|
SGE seems present on this host."
|
||||||
|
|
||||||
### And verify if the host is fully configured as a submit 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 − \
|
debug_message "is_sge_host − \
|
||||||
The host seems configured as a SGE submit host."
|
The host seems configured as a SGE submit host."
|
||||||
return_is_sge_host="0"
|
return_is_sge_host="0"
|
||||||
|
|
Loading…
Reference in New Issue