summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_syslog.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/vyatta_update_syslog.pl')
-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 83fa9576..8047999d 100755
--- a/scripts/system/vyatta_update_syslog.pl
+++ b/scripts/system/vyatta_update_syslog.pl
@@ -77,7 +77,7 @@ unless (%entries) {
read_config( $config, 'console', $CONSOLE );
foreach my $host ( $config->listNodes('host') ) {
- read_config( $config, "host $host", "@$host" );
+ read_config( $config, "host $host", '@'. $host );
}
foreach my $file ( $config->listNodes('file') ) {