blob: e4f07dbf54a9ad480f8a9a4a85fb14acb87d0beb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* ISC license. */
#include <skalibs/strerr2.h>
#include <s6/ftrigw.h>
#define USAGE "s6-ftrig-notify fifodir message"
int main (int argc, char const *const *argv)
{
PROG = "s6-ftrig-notify" ;
if (argc < 3) strerr_dieusage(100, USAGE) ;
if (ftrigw_notifys(argv[1], argv[2]) < 0)
strerr_diefu2sys(111, "notify ", argv[1]) ;
return 0 ;
}
|