bad syntax
authorStephen Gran <steve@lobefin.net>
Sat, 19 Jun 2010 15:37:45 +0000 (15:37 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 19 Jun 2010 15:37:45 +0000 (15:37 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/syslog-ng.conf.erb

index 9e4a80d..c62a7f7 100644 (file)
@@ -101,10 +101,12 @@ source s_all {
 <% else %>
         file("/proc/kmsg" program_override("kernel: "));
 <%end%>
+<%else%>
         # standard Linux log source (this is the default place for the syslog()
         # function to send logs to)
         unix-dgram("/var/run/log");
         # messages from the kernel
+<%end%>
 <% if syslogversion == "2" -%>
         file("/dev/klog" log_prefix("kernel: "));
 <% else %>