1
0
Fork 0
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:
Hyacinthe Cartiaux 2013-12-12 10:08:46 +01:00
parent 912a509e3b
commit a0836ab742

View file

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