| 1211 | } |
| 1212 | |
| 1213 | bool AppInitLockDirectories() |
| 1214 | { |
| 1215 | // After daemonization get the directory locks again and hold on to them until exit |
| 1216 | // This creates a slight window for a race condition to happen, however this condition is harmless: it |
| 1217 | // will at most make us exit without printing a message to console. |
| 1218 | if (!LockDirectories(false)) { |
| 1219 | // Detailed error printed inside LockDirectory |
| 1220 | return false; |
| 1221 | } |
| 1222 | return true; |
| 1223 | } |
| 1224 | |
| 1225 | bool AppInitInterfaces(NodeContext& node) |
| 1226 | { |
no test coverage detected