From c8ddc562aea00044ce3bc3867858e0bc4bd461df Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 10 Apr 2009 10:10:41 -0700 Subject: Fix file syslog target The new code was requiring full pathname, but old version was using /var/log/user/ so make new code work like old code. --- scripts/system/vyatta_update_syslog.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/system/vyatta_update_syslog.pl b/scripts/system/vyatta_update_syslog.pl index 88791de5..49662c30 100755 --- a/scripts/system/vyatta_update_syslog.pl +++ b/scripts/system/vyatta_update_syslog.pl @@ -75,7 +75,7 @@ foreach my $host ( $config->listNodes('host') ) { } foreach my $file ( $config->listNodes('file') ) { - read_config( $config, "file $file", $file ); + read_config( $config, "file $file", '/var/log/user/' . $file ); } foreach my $user ( $config->listNodes('user') ) { -- cgit v1.2.3