summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc/node/init.sh4
1 files changed, 3 insertions, 1 deletions
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