| 682 | } |
| 683 | |
| 684 | static bool unlink_bind_path() |
| 685 | { |
| 686 | if (unlink(unix_bind_path.c_str()) == -1 && errno != ENOENT) { |
| 687 | syslog(LOG_CRIT, "error unlinking path:%s rc:%d [%s]\n", unix_bind_path.c_str(), |
| 688 | errno, strerror(errno)); |
| 689 | return false; |
| 690 | } |
| 691 | return true; |
| 692 | } |
| 693 | |
| 694 | void sigint_handler(int signum, short evs, void *arg) |
| 695 | { |