b1548e7c73
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
15 lines
148 B
C
15 lines
148 B
C
#include <stdlib.h>
|
|
#include "syslog.h"
|
|
|
|
int main(void)
|
|
{
|
|
char *msg = getenv("MSG");
|
|
|
|
if (!msg)
|
|
return 1;
|
|
|
|
syslog(LOG_ERR, msg);
|
|
|
|
return 0;
|
|
}
|