add syslog backend support

This commit is contained in:
lxsang
2021-09-17 17:36:51 +02:00
parent ebffa3b3bc
commit 881f5b63c5
6 changed files with 325 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ int main(int argc, char **argv)
if (argc != 5)
{
printf("Usage: %s path/to/hotline/socket channel_name input_file\n", argv[0]);
printf("Usage: %s path/to/hotline/socket channel_name input_file r/w\n", argv[0]);
return -1;
}
signal(SIGPIPE, SIG_IGN);