| 394 | } |
| 395 | |
| 396 | void clusterSaveConfigOrDie(int do_fsync) { |
| 397 | if (clusterSaveConfig(do_fsync) == -1) { |
| 398 | serverLog(LL_WARNING,"Fatal: can't update cluster config file."); |
| 399 | exit(1); |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | /* Lock the cluster config using flock(), and leaks the file descriptor used to |
| 404 | * acquire the lock so that the file will be locked forever. |
no test coverage detected