mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-12-26 01:48:21 +01:00
fix bug
This commit is contained in:
parent
4f0d1b1d27
commit
0072734269
BIN
dist/antd-publishers-0.1.2a.tar.gz
vendored
BIN
dist/antd-publishers-0.1.2a.tar.gz
vendored
Binary file not shown.
@ -211,13 +211,6 @@ int main(int argc, char **argv)
|
|||||||
signal(SIGABRT, SIG_IGN);
|
signal(SIGABRT, SIG_IGN);
|
||||||
signal(SIGINT, int_handler);
|
signal(SIGINT, int_handler);
|
||||||
|
|
||||||
// create the fifo first
|
|
||||||
(void)unlink(argv[3]);
|
|
||||||
if (mkfifo(argv[3], 0666) == -1)
|
|
||||||
{
|
|
||||||
M_ERROR(MODULE_NAME, "Unable to create FIFO %s: %s", argv[3], strerror(errno));
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
// now try to request new channel from hotline
|
// now try to request new channel from hotline
|
||||||
fd = open_unix_socket(argv[1]);
|
fd = open_unix_socket(argv[1]);
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user