bug fixes
[webi-installers/.git] / node / node.bash
index 0d2a91715a2b35e898962ffd177bc7c695bd933d..e4a2ef75c5512189c8b9168b52b1dcdc9b133c24 100644 (file)
@@ -69,7 +69,7 @@ if [ -e "$new_node_home/bin/node" ]; then
         exit 0
     fi
 fi
-if [ "$cur_node" != "$new_node" ]; then
+if [ -n "$cur_node" ] && [ "$cur_node" != "$new_node" ]; then
     echo "WARN: possible conflict with node v$WEBI_VERSION at $cur_node"
 fi