aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-03-13 11:26:13 +0100
committerSverker Eriksson <[email protected]>2012-03-13 11:26:13 +0100
commit5d74fedad95c849b71c8dc255291467b7fcc37de (patch)
tree133af6843414248bdef6a7cd21eb4ba9a44485e4
parent0a4648f8ac5cc00e9e3ce462bb8c11694cec1443 (diff)
parent027456f090fa4d298dd34655d6bb44d2531a135f (diff)
downloadotp-5d74fedad95c849b71c8dc255291467b7fcc37de.tar.gz
otp-5d74fedad95c849b71c8dc255291467b7fcc37de.tar.bz2
otp-5d74fedad95c849b71c8dc255291467b7fcc37de.zip
Merge branch 'maint'
-rw-r--r--erts/lib_src/common/erl_misc_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/common/erl_misc_utils.c b/erts/lib_src/common/erl_misc_utils.c
index 5e94ff19db..4806311dfe 100644
--- a/erts/lib_src/common/erl_misc_utils.c
+++ b/erts/lib_src/common/erl_misc_utils.c
@@ -834,8 +834,8 @@ read_topology(erts_cpu_info_t *cpuinfo)
ix = -1;
if (realpath(ERTS_SYS_NODE_PATH, npath)) {
- got_nodes = 1;
ndir = opendir(npath);
+ got_nodes = (ndir != NULL);
}
do {