From 5bc7eb9c62a88e393cf8a88121b816f14f1ca7a7 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 31 Jul 2009 23:32:47 +0200 Subject: bugfix: removed recursion, if hostname is not set --- bashrc/node/init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc/node/init.sh b/bashrc/node/init.sh index 446493a..0fb0b6b 100644 --- a/bashrc/node/init.sh +++ b/bashrc/node/init.sh @@ -2,4 +2,6 @@ declare -r _NODENAME=${HOSTNAME} -_load node '*' +if [[ -n "${_NODENAME}" ]]; then + _load node '*' +fi -- cgit v1.2.3