summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-03-29 08:56:27 -0700
committerStephen Hemminger <stephen@networkplumber.org>2013-03-29 08:56:27 -0700
commit66671f93c8d696af4a606e816273aa3a35d7fb18 (patch)
treed78916c83f07dc66e99069e583cacc35d4b29ce8 /scripts
parent293681c02493bc242519da4b3cc0adc500e4cf83 (diff)
downloadvyatta-cfg-system-66671f93c8d696af4a606e816273aa3a35d7fb18.tar.gz
vyatta-cfg-system-66671f93c8d696af4a606e816273aa3a35d7fb18.zip
syslog: fix channel syntax
Bug 8813 Need to add omfile when referring to channel.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/system/vyatta_update_syslog.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_syslog.pl b/scripts/system/vyatta_update_syslog.pl
index 043f41e3..7d12284e 100755
--- a/scripts/system/vyatta_update_syslog.pl
+++ b/scripts/system/vyatta_update_syslog.pl
@@ -94,7 +94,7 @@ sub print_outchannel {
# Force outchannel size to be 1k more than logrotate config to guarantee rotation
$size = ($size + 5) * 1024;
print $fh "\$outchannel $channel,$target,$size,/usr/sbin/logrotate ${LOGROTATE_CFG_DIR}/$channel\n";
- print $fh join( ';', @{ $entries{$target}{selector} } ), " \$$channel\n";
+ print $fh join( ';', @{ $entries{$target}{selector} } ), " :omfile:\$$channel\n";
}
my $config = new Vyatta::Config;