Skip to content
Snippets Groups Projects
Commit e884bd9a authored by deuce's avatar deuce
Browse files

I don't know how objects are "true", or "false", so don't risk it.

parent f71e64b9
No related branches found
No related tags found
No related merge requests found
......@@ -959,7 +959,7 @@ function poll_node(addr_str, scfg, bicfg, myaddr)
}
}
log(LOG_INFO, "Attempting poll for node "+addr);
if(lock_files)
if(lock_files !== undefined)
locks.push(lock_files);
// Use a try/catch to ensure we clean up the lock files.
callout(addr, scfg, locks, bicfg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment