mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 17:25:23 +02:00
[bash] Redirect the output of hostname to /dev/null
This commit is contained in:
parent
912a509e3b
commit
a0836ab742
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ test -n "$INTERACTIVE" && test -n "$OAR_NODE_FILE" && (
|
||||||
# GRID5000 specific
|
# GRID5000 specific
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
hostname | grep -e 'grid5000.fr$'
|
hostname | grep -e 'grid5000.fr$' >/dev/null 2>&1
|
||||||
if [ $? -eq 0 ] ; then
|
if [ $? -eq 0 ] ; then
|
||||||
export OAR_JOB_KEY_FILE=~/.ssh/id_rsa
|
export OAR_JOB_KEY_FILE=~/.ssh/id_rsa
|
||||||
export HTTP_PROXY=http://proxy:3128
|
export HTTP_PROXY=http://proxy:3128
|
||||||
|
|
Loading…
Reference in a new issue