Capture and log STDOUT and STDERR output from dhcp-script.

This commit is contained in:
Petr Menšík authored and Simon Kelley committed 2017-04-16 20:20:08 +01:00
1 parent bc515b71ec
commit c77fb9d8f0
6 files changed
+100 -33

No files matched your search

+3 -1
View File
@@ -288,7 +288,9 @@ void my_syslog(int priority, const char *format, ...)
func = "-tftp";
else if ((LOG_FACMASK & priority) == MS_DHCP)
func = "-dhcp";
else if ((LOG_FACMASK & priority) == MS_SCRIPT)
func = "-script";
#ifdef LOG_PRI
priority = LOG_PRI(priority);
#else